I am trying to create my own ListView template similar to android.R.layout.simple_list_item_2. However, when I use the following in my XML, I get the error message "No resource found matching this name? Android: attr / listItemFirstLineStyle".
<TextView
android:id="@+id/text1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
style="?android:attr/listItemFirstLineStyle" />
Can someone tell me how to fix this or how to find the style properties so that I can copy them. I am using Android 2.2.
source
share