Waldemar/res/xml/preferences.xml

25 lines
1.4 KiB
XML
Raw Normal View History

2011-06-04 22:14:39 +02:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/common">
<EditTextPreference android:dialogTitle="@string/name_summary"
android:dialogMessage="@string/name_prompt" android:title="@string/name"
android:summary="@string/name_summary" android:defaultValue="@string/name_default"
android:key="pref_name" android:singleLine="true" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/timing">
<ListPreference android:title="@string/mode"
android:summary="@string/mode_summary" android:key="pref_mode"
android:defaultValue="1" android:entries="@array/modes"
android:entryValues="@array/modes_values" />
<de.schatenseite.android.datepreference.DatePreference
android:key="pref_dateStart" android:title="@string/dateStart"
android:summary="@string/dateStart_summary" />
<EditTextPreference android:dialogTitle="@string/duration_summary"
android:dialogMessage="@string/duration_prompt" android:title="@string/duration"
android:summary="@string/duration_summary" android:defaultValue="@string/duration_default"
android:key="pref_duration" android:singleLine="true" android:numeric="integer" />
<de.schatenseite.android.datepreference.DatePreference
android:key="pref_dateThen" android:title="@string/dateThen"
android:summary="@string/dateThen_summary" />
</PreferenceCategory>
</PreferenceScreen>