Comments (3)
- Can not change rfab icon's color now, I will support it feature(next version).
- I Uploaded to Maven:
Gradle:
compile 'com.github.wangjiegulu:RapidFloatingActionButton:1.0.1'
Maven:
<dependency>
<groupId>com.github.wangjiegulu</groupId>
<artifactId>RapidFloatingActionButton</artifactId>
<version>1.0.1</version>
</dependency>
from rapidfloatingactionbutton.
You may try this way:
DRAWABLE_A: The drawable when pressed state
DRAWABLE_B: The drawable when normal state
StateListDrawable drawable = new StateListDrawable();
drawable.addState(new int[]{android.R.attr.state_pressed, android.R.attr.state_enabled}, DRAWABLE_A);
drawable.addState(new int[]{}, DRAWABLE_B);
// Set the drawable that you want to the rfab
rfaButton.setButtonDrawable(drawable);
rfaButton.build();
from rapidfloatingactionbutton.
Oh, thx!
from rapidfloatingactionbutton.
Related Issues (20)
- Button is masked under the Linearlayout
- test
- 弹出的tabList不支持滑动
- tab隐藏也能触发列表弹出
- Changing rfaBtn Drawable Programmatically
- Can we have nested Floating Buttons in this??
- problem on BuildConfig.DEBUG
- Label direction
- setting our own icon to FAB button , doesn't fit the FAB button circle. HOT 1
- How to disable fab rotation HOT 1
- Binary XML file line #73: Error inflating class com.wangjie.rapidfloatingactionbutton.RapidFloatingActionButton HOT 2
- Activity becoming unresponsive
- How to make something like .setCancelable(true) when the user press the button
- How to fix content label position for RTL?
- the main fab icon doesn't appear
- the main fab icon doesn' appear
- How to show or hide RapidFloatingActionButton ? HOT 1
- How scroll the RapidFloatingActionLayout to see buttons inside ?
- can we scroll the child buttons in the RFA Button?? If yes, please suggest a way.
- ClassCastExeption: cannot cast Fragment to RFAContentLabelList
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 rapidfloatingactionbutton.