Comments (6)
Add below method in ButtonRectangle.java
file.
public String getText(){
return textButton.getText().toString();
}
from materialdesignlibrary.
To access text of button you have getTextView function, with this function you can access to textview of Button to get text or change Typeface. But if you want his function i will implement it.
from materialdesignlibrary.
thanks it worked for me manishandroid.
how to decrease anime time of ButtonRectangle
I am implementing ButtonRectangle to calculator. it take too long time
from materialdesignlibrary.
You can use setRippleSpeed function of Buttons to set speed of ripple sppeed
from materialdesignlibrary.
I am new in android development))
that is why
can you please write me some line of code
and say me where i should paste it))
to do it))
from materialdesignlibrary.
Don't worry, it isn`t a problem, for example if you have a RectangleButton in XML file with id button1
you can access to this button in an activity with
RectangleButton button1 = (RectangleButton) findViewById(R.id.button1);
and now you can set ripple speed
button1.setRippleSpeed(20);
if you have other question it is my mail [email protected]
from materialdesignlibrary.
Related Issues (20)
- Ripple Speed
- Failed to resolve: com.android.support:support-v4:22.0 HOT 1
- Failed to resolve: com.github.vajro:MaterialDesignLibrary:1.6 HOT 2
- Attribute "rippleColor" already defined with incompatible format. HOT 4
- Move invalidate() to onTouchEvent() from onDraw() in the Slider.java
- Text size on differen phones
- An error occurred when I used ButtonFloat HOT 3
- issue in package that can not b installed
- Cannot solve symbol @drawable/ic_action_new
- Reset ProgressbarCircularIndeterminate
- java.lang.NullPointerException ButtonFlat
- import com.gc.materialdesign.views.checkView; , setCheckedNoAnim(**) & setChecked() not working
- Error where variables are not public in com.gc.materialdesign.views.* and therefore cannot be accessed from outside the package HOT 1
- It's always show Gradle:Download https://jitpack.io/com/github/navasmdc/MaterialDesign-1.5.pom HOT 3
- AndroidX HOT 4
- Migrated to AndroidX, can't build anymore
- Import library as a module in my project HOT 1
- Xfnfnf
- Type in your language with Gboard HOT 2
- Hi HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialdesignlibrary.