Hello I have created a navigation drawer with ListView navigation using ActionBar Sherlock
and android support Library v4
for old version compatbility (my app's minSdkversion="8") in which I have used some attributes for textview in ListView:
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceListItemSmall"
android:gravity="center_vertical"
android:paddingLeft="16dp"
android:paddingRight="5dp"
android:textColor="#fff"
android:background="?android:attr/activatedBackgroundIndicator"
android:minHeight="?android:attr/listPreferredItemHeightSmall"/>
This is showing error as ?android:attr/activatedBackgroundIndicator
is from API 11 and ?android:attr/textAppearanceListItemSmall
& ?android:attr/listPreferredItemHeightSmall
are from API 14.
I managed to support ?android:attr/activatedBackgroundIndicator
by replacing it with actionBar Sherlock's ?attr/activatedBackgroundIndicator
. But I didn't find any equivalence for other two attributes. There is ?attr/textAppearanceListItemSmall
in actionBar Sherlock but it is not properly working.
So what are the equivalence for these attributes to provide support all the API above 2.1 ?