1 pièce(s) jointe(s)
Comment intégrer un PreferenceScreen dans un onglet de mon TabHost?
Bonjour,
Je veux integrer un PreferenceScreen dans un onglet de mon TabHost .
Pièce jointe 151825
et voilà le code de mon Preferences.xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<ListPreference
android:dialogTitle="@string/visibilityeDialogTitle"
android:entries="@array/visibilityEntries"
android:entryValues="@array/visibilityEntryValues"
android:key="preferences_visibility"
android:summary="@string/visbilitySummary"
android:title="@string/visibilityTitle" />
<ListPreference
android:dialogTitle="@string/typeDialogTitle"
android:entries="@array/typeEntries"
android:entryValues="@array/typeEntryValues"
android:key="preferences_type"
android:summary="@string/typeSummary"
android:title="@string/typeTitle" />
</PreferenceScreen> |
j'ai essayé mais toujours j'ai 'erreur suivant dans mon emulateur " Enfortunalety ... has stopped."
j'espère trouver une solution ou même une indication .
merci d'avance.
Cordialement.