Wednesday, October 10, 2012

[android-developers] Re: Drawable Query

Sounds like you want to use assets instead of resources.  Assets support subfolders.



On Tuesday, October 9, 2012 1:47:47 PM UTC-5, Daz wrote:
I am working on a simple animation using the animation-list attribute.  I have all my sequenced images in the drawable-xhdpi folder and the first line of my XML looks like this:

<item android:drawable="@drawable/animation_00000" android:duration="30" />

To keep things tidy, I decided to create a new folder called "seq" inside of the drawable-xhdpi and moved my images inside.  Of course I got errors in my animation.xml file, so I changed the first line to:

<item android:drawable="@drawable/seq/animation_00000" android:duration="30" />

Still showing an error so could someone help.  Thanks.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate