I'm trying to use the following layered drawable:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap android:src="@drawable/bluestar_tile"
android:tileMode="repeat"
/>
</item>
<item>
<bitmap android:src="@drawable/bluestar_grad"
android:gravity="fill"
/>
</item>
</layer-list>
It is a semi-transparent gradient over a tile. However, on some
occasions the tile layer doesn't tile. Instead I see the gradient image
streched over the designated space, a single tile block, and the
background showing through elsewhere.
It seems only related to my animated components of which the layered
bitmap is a background of. Orientation changes seem to trigger it more
often, but I've seen the error without an orientation change or even an
activity switch. I believe the background always shows up successfully
at least once. However, once it fails on one animated background, it
will fail on all other animated backgrounds, while other components with
that background continue to render correctly. Further, I can only clear
the error by restarting the process (something I can't ship with).
Any thoughts on what might be the error, or suggested tests I could run
to narrow down the possibilities?
Anm
--
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