I have an ImageView object that I'm setting the android:src="@drawable/some_xml_file" instead of a standard png and it seems to not always render the drawable, as you can see in the first row here (it also happens intermittently in other rows as well):
I've tried setting the src & the background property but they both have the same effect. the source code from my list view row item is this:
<ImageView android:id="@id/action_button" android:background="@drawable/action_box"
android:layout_width="25dip" android:layout_height="25dip"
android:layout_alignParentRight="true" android:layout_marginTop="10dip" />
then my res/drawable/action_box.xml is this:
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="#81c557"
android:endColor="#539942"
android:angle="270"/>
<stroke android:width="1dip" android:color="#a8d78a" />