我有以下意见:
<ListView android:id="@android:id/list" android:layout_width="fill_parent" android:divider="@drawable/line"
android:layout_height="fill_parent" android:background="@drawable/bg"/>
但我想为每个增长项目确定背景。 当我确定底栖财产时,我改变了整个清单的背景,而不仅仅是每一行。
How can I set the drawable background for each item in the row? I have tried everything. The only thing I can change is the android:divider drawable shown between the rows. Thanks in advance!