Comments (7)
Available in 2.0.7, released just now.
from android-iconify.
@fadils this project uses a normal textView and just changes the typeFace of the view to render special unicode chars as icon. This does not allow any altering of the style a specific icon has.
Furthermore animating an element within a textview is pretty complicated. You can do an alpha animation like mentioned in this post: http://flavienlaurent.com/blog/2014/01/31/spans/ perhaps it's possible to implement a spin-animation too, but this is probably nothing for the near future.
(this would need a complete rewrite of this whole project)
from android-iconify.
@mikepenz I knew it was a quite a work for this feature. I was just curious for one thing. If it's gonna be available in near future, how you are going to combine the typeFace conversion, along with an animation and put it as a View attribute.
From your answer, at least I get the picture it won't be available soon. Thanks a lot, Mike.
from android-iconify.
@fadils as far as i see it would require a huge amount of trying. i haven't found anything similar yet so it could get difficult to add this feature. If you are a bit more into code you can check my try on the whole icon-font topic here: https://github.com/mikepenz/Android-Iconics
from android-iconify.
so i tried many different things now. seems to be not possible with spans. perhaps with a custom animated drawable. but got no experience with them.
from android-iconify.
I am gonna try something today. Good thing you pointed out that it seems to be not possible with spans.
from android-iconify.
After a few tests myself, it is possible with spans, but it needs one more thing: have access to the TextView. I'll investigate to make sure it can't cause a leak and add it to the next version if it's ready at this time.
Syntax would be {fa-something spin}
.
from android-iconify.
Related Issues (20)
- Expose TextPaint in IconDrawable
- Spinning drawables HOT 2
- Notification builder - setSmallIcon is it possible?
- Google Material Update? HOT 1
- Parser fails on } { sequence
- Font Awesome Not Update
- is it possible to do animate on these icon
- How to preview the effect in the development period?
- iconify about android8.0
- Couldn't working java 8. FontAwesomeIcons.values() unable to resolve static method
- Importing Iconify into Android to Use as a Dependency
- can not support com.android.support:appcompat-v7:27.1.1 HOT 2
- Cut off part of the icon - fa_taxi
- Crashed when redering incomplete bracket.
- Wrong with WeathericonsIcons.java:527
- can not support com.android.support:appcompat-v7:28.0.0 HOT 2
- Android app not available anymore
- The font awesome names aren't consistent with the standard name identifiers.
- Duplicate classes when importing this project into mine HOT 5
- Shemul
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-iconify.