So i found this thread and try to set drawable to the ImageView ( as a content ) img.setImageDrawable(drawable) and still I have a only first imaage displayed but the weird thing that if i check isRunning on the animated drawable it returns true .
http://groups.google.com/group/android-developers/browse_thread/thread/4a8dfff18f0abd86# On Mar 30, 2:27 pm, Alexey <avolo...@gmail.com> wrote: > hm ... apparently its not working in from onResume , works fine from > onClick listener . Anybody figured out how to make it this from > onResume ? > > On Mar 30, 11:07 am, Alexey <avolo...@gmail.com> wrote: > > > it does look like what i need thanks ! > > > On Mar 30, 4:46 am, Gesh <geo...@neofonie.de> wrote: > > > > what you need is this > > > herehttp://developer.android.com/reference/android/graphics/drawable/Anim... > > > > there is also an example in the documentation (how lucky you are :)) > > > of how to define that in xml. > > > > cheers, > > > gesh. > > > > On Mar 29, 6:11 pm, matthias <m.kaepp...@googlemail.com> wrote: > > > > > that's a good question; unfortunately, drawable resources are poorly > > > > documented. You can always take a look at the Android implementation > > > > though... there should be plenty of "examples". I usually simply copy > > > > over drawables from the framework and modify them to suit my needs. > > > > Android's drawables (including the progress indicators) are located in > > > > frameworks/base/core/res/res/drawable. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---