Bonjour à toutes et à tous,
Je débute la programmation android.
Je cherche des idées pour créer un EditTextPreference qui est par défaut avec un simple EdiText.
je veux y ajouter un bouton et une image afin de récupérer certaines informations.
Auriez vous des idées?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:title="First Category" android:key="first_category"> <EditTextPreference android:key="Name" android:title="Name " android:summary="Entre votre nom " android:dialogTitle="Entre votre nom" android:dialogMessage="Entre votre Nom" android:defaultValue="" /> <EditTextPreference android:key="Nfreind" android:title="N freind " android:summary="Entre votre Numero " android:dialogTitle="Entre votre nom" android:dialogMessage="Entre votre Nom" android:defaultValue="" /> <CheckBoxPreference android:key="Sound" android:title="SounD" /> </PreferenceCategory> </PreferenceScreen>
Merci d'avance
Partager