Hi ,
I have a main view that presents to the user the settings he/she can modify for an application . It's xml is something like this :
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="root_preferencescreen">
<PreferenceScreen android:key="general_sett" android:title="general settings" />
....
<PreferenceScreen android:key="extras_sett" android:title="extras settings" />
</PreferenceScreen>
When the user clicks on on preferenceScreen a secondary screen will open that contains the desired preferences . What I want is to be able to display a icon to the left of each of these preferenceScreens , something like this:
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:key="root_preferencescreen">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent"... >
<ImageView id="@+id/picview" ... />
<PreferenceScreen android:key="general_sett" android:title="general settings" />
</LinearLayout>
......
</PreferenceScreen>
Unfortunately this approach is not allowed by Android , so if you have any other idea or solution regarding this issue please inform me .