KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm working on a custom indeterminate spinner, I browsed through the SDK for some pointers and found the indeterminate spinner xml file made by Google: <?xml version="1.0" encoding="utf-8"?> <animated-rotate xmlns:android="http://schemas.android.com/apk/res/android" android:drawable="@drawable/spinner_black_16" android:pivotX="50%" android:pivotY="50%" android:framesCount="12" android:frameDuration="100" /> When I use this as a drawable in my own project I get errors about android:framesCount and android:framesDuration . After looking on Google for a while I found this link to an issue report. My questions is: Is there any workaround so i can still use android:framesCount and android:framesDuration ? Or is there any other way I can make my custom spinner rotate smooth?
Tags (comma-separated)
Save Edits
Cancel