L'activité de préférence se gonfle en invoquantAndroid: Comment faire pour supprimer l'icône flèche vers le bas à côté de l'entrée EditTextPreference?
addPreferencesFromResource (R.xml.preferences);
et voici le preferences.xml:
<PreferenceCategory android:title="@string/pref_categ_update_label">
<ListPreference android:title="@string/pref_label"
android:key="update_interval"
android:entries="@array/update_names" android:entryValues="@array/update_values" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_categ_evernote_label">
<EditTextPreference android:title="@string/pref_dialog_edit_username"
android:key="prefUsername"
android:positiveButtonText="@string/save_pref"
android:negativeButtonText="@string/cancel_pref" />
<EditTextPreference android:title="@string/pref_dialog_edit_password"
android:key="prefPassword"
android:positiveButtonText="@string/save_pref"
android:negativeButtonText="@string/cancel_pref"
android:password="true" />
</PreferenceCategory>
tout semble correct, mais les entrées EditTextPreference (2 et 3) ont des icônes de flèche vers le bas à côté d'eux , tout comme ListPreference (1). Pourquoi est-ce le cas et comment puis-je supprimer ces icônes car elles ne semblent pas pertinentes?
La capture d'écran est ici: http://i.stack.imgur.com/BZUr7.png
Merci beaucoup. Je pensais que ces flèches étaient des bogues de mise en page) – aiboman
Et quelle est la mise en œuvre minimale pour y parvenir? (Je veux la même fonctionnalité et ne veux pas écrire myslef entière de préférence) – Hurda