1 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- NOTE: EditTextPreference accepts EditText attributes. -->
4 <!-- NOTE: EditTextPreference's summary should be set to its value by the activity code. -->
6 android:id="@+id/pref_backend_url"
7 android:capitalize="words"
8 android:defaultValue="@string/pref_default_backend_url"
9 android:inputType="textUri"
10 android:key="backend_url"
12 android:selectAllOnFocus="true"
13 android:singleLine="true"
14 android:title="@string/pref_title_backend_url" />
17 android:id="@+id/pref_backend_use_http_auth"
18 android:defaultValue="false"
19 android:disableDependentsState="false"
20 android:key="backend_use_http_auth"
21 android:summaryOff="@string/pref_description_use_http_auth_off"
22 android:summaryOn="@string/pref_description_use_http_auth_on"
23 android:title="@string/pref_title_use_http_auth" />
26 android:id="@+id/pref_backend_auth_user"
27 android:dependency="backend_use_http_auth"
28 android:inputType="text"
29 android:key="backend_auth_user"
31 android:selectAllOnFocus="true"
32 android:singleLine="true"
33 android:title="@string/pref_title_backend_auth_user" />
36 android:id="@+id/pref_backend_auth_password"
37 android:dependency="backend_use_http_auth"
38 android:inputType="textPassword"
39 android:key="backend_auth_password"
41 android:selectAllOnFocus="true"
42 android:singleLine="true"
43 android:title="@string/pref_title_backend_auth_password" />