23 lines
906 B
XML
23 lines
906 B
XML
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- NOTE: EditTextPreference accepts EditText attributes. -->
|
|
<!-- NOTE: EditTextPreference's summary should be set to its value by the activity code. -->
|
|
|
|
<!-- NOTE: Hide buttons to simplify the UI. Users can touch outside the dialog to
|
|
dismiss it. -->
|
|
<!-- NOTE: ListPreference's summary should be set to its value by the activity code. -->
|
|
|
|
<EditTextPreference
|
|
android:defaultValue="@string/default_endpoint"
|
|
android:key="pref_endpoint"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:title="Server address" />
|
|
<EditTextPreference
|
|
android:defaultValue="2048"
|
|
android:key="pref_port"
|
|
android:selectAllOnFocus="true"
|
|
android:singleLine="true"
|
|
android:title="Server port" />
|
|
</PreferenceScreen>
|