Comments (2)
The library uses android.animation package, which was added in API 11.
I'm not going to support API < 14 myself, as I already mentioned in #2 and #8, but you're more than welcome to fork this project and support older API levels.
from android-floating-action-button.
I have looked more closely at the code now :)
The only part of your library that actually requires API 11 is FloatingActionsMenu
, and that would be fixed by using NineOldAndroids. Would you be open to having pull requests submitted that implement this? I guess this still puts the long-term maintenance burden on you...
Alternatively, would you be open to putting FloatingActionButton
and AddFloatingActionButton
into a library-base package (or accepting a pull request from me that does)? The only change needed for them to support API < 11 is to not hardcode holo colors (I was going to move this into a colors.xml
). This would not affect any current users, because they would depend on your existing library which would then pull in the library base. Users who then want to use FloatingActionsMenu
below API 14 could then use a forked library that depends on your library-base but uses NineOldAndroids.
Basically, I am looking at ways to reduce the issues that will occur when trying to keep a fork in sync with your upstream code. I have opened #12 with the colors changes; I can extend it with the library split suggested above if you like the idea (or if not, I will continue with the fork and figure out the minimum differences necessary).
from android-floating-action-button.
Related Issues (20)
- Bottom app bar
- How to expand on longClick?? HOT 2
- how to close FloatingActionMenu when Click on Fab button on FabMenu? HOT 1
- add border width border color
- Update Request HOT 5
- Sample code for using library HOT 1
- Drawable **** has unresolved theme attributes
- XML files don't work HOT 2
- Layout overlaping the fab title. Can anyone help me with this. HOT 1
- Can't add icon to the main fab icon button
- How do I change the size other than normal , mini HOT 1
- How to change color of Floating Action Menu on Normal State Programatically ? HOT 1
- support HOT 1
- How to onclick on Menu button? HOT 1
- Center in layout HOT 1
- Expand Direction to left
- feature requirment HOT 1
- AndroidX HOT 1
- Error inflating class com.getbase.floatingactionbutton.FloatingActionsMenu
- Widget from web
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 android-floating-action-button.