habitica-android/Habitica/res/xml/preferences_fragment.xml

178 lines
6.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/PS_contact_title" >
2015-12-01 01:34:18 +00:00
<PreferenceCategory
2016-04-14 17:11:18 +00:00
android:title="@string/pref_account_header"
android:key="account_prefs">
<PreferenceScreen
android:key="accountDetails"
android:title="@string/account_details"
2016-12-05 18:26:54 +00:00
android:summary="@string/account_details_sum"
2016-04-14 17:11:18 +00:00
android:order="1">
<PreferenceCategory android:title="Account Details">
<Preference
android:key="@string/SP_username"
android:title="Login Name"
android:selectable="true"
android:persistent="false"
android:shouldDisableView="false"
android:summary="Login Name" />
<Preference
android:key="@string/SP_email"
android:title="E-mail"
android:selectable="true"
android:persistent="false"
android:shouldDisableView="false"
android:summary="E-mail" />
<Preference
android:key="@string/SP_userID"
android:title="@string/SP_userID_title"
android:selectable="true"
android:persistent="false"
android:shouldDisableView="false"
android:summary="@string/SP_userID_summary"/>
<Preference
android:key="@string/SP_APIToken"
android:title="@string/SP_APIToken_title"
android:selectable="true"
android:persistent="false"
android:shouldDisableView="false"
android:summary="@string/SP_APIToken_summary"/>
<Preference
android:key="@string/SP_user_qr_code"
android:title="@string/SP_user_qr_code"
android:selectable="true"
android:persistent="false"
android:shouldDisableView="false"
android:summary="@string/SP_user_qr_code"/>
</PreferenceCategory>
</PreferenceScreen>
2016-04-14 17:11:18 +00:00
<Preference
android:key="choose_class"
android:order="2"/>
<ListPreference android:title="@string/pref_first_day_of_the_week_title"
android:key="@string/pref_first_day_of_the_week_key"
android:entries="@array/weekdays"
android:entryValues="@array/weekdayValues"
android:summary="@string/pref_first_day_of_the_week_summary"
2016-10-20 20:39:09 +00:00
android:order="5"/>
<ListPreference android:title="@string/Language_title"
android:key="language"
android:entries="@array/Language"
android:entryValues="@array/LanguageValues"
android:summary="@string/Language_summary"
2016-10-20 20:39:09 +00:00
android:order="4"/>
<ListPreference android:title="@string/AudioTheme_title"
android:key="audioTheme"
android:entries="@array/AudioThemes"
android:entryValues="@array/AudioValues"
android:summary="@string/AudioTheme_summary"
android:order="3"/>
<Preference android:title="@string/logout"
android:key="logout"
2016-04-14 17:11:18 +00:00
android:summary="@string/logout_description"
android:order="99"/>
2015-12-01 01:34:18 +00:00
</PreferenceCategory>
2015-12-01 01:34:18 +00:00
<PreferenceCategory
android:title="@string/pref_reminder_header">
2015-12-01 01:34:18 +00:00
<CheckBoxPreference
android:key="use_reminder"
android:defaultValue="false"
2015-12-01 01:34:18 +00:00
android:title="@string/pref_reminder_checkbox"/>
2015-12-01 01:34:18 +00:00
<com.habitrpg.android.habitica.prefs.TimePreference
android:key="reminder_time"
android:defaultValue="19:30"
2015-12-01 01:34:18 +00:00
android:title="@string/pref_reminder_picker" />
2015-12-01 01:34:18 +00:00
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_cds_header">
<com.habitrpg.android.habitica.prefs.TimePreference
android:key="cds_time"
android:defaultValue="00:00"
android:title="@string/pref_cds_picker" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/push_notifications">
<CheckBoxPreference
android:key="usePushNotifications"
android:defaultValue="true"
android:title="@string/pref_push_notifications_checkbox"/>
<PreferenceScreen
android:key="pushNotifications"
android:title="@string/push_notifications"
2016-12-05 18:26:54 +00:00
android:summary="@string/push_notifications_sum"
android:order="1">
<PreferenceCategory android:title="Push Notifications">
<CheckBoxPreference
android:key="preference_push_you_won_challenge"
android:defaultValue="true"
android:title="@string/preference_push_you_won_challenge"/>
<CheckBoxPreference
android:key="preference_push_received_a_private_message"
android:defaultValue="true"
android:title="@string/preference_push_received_a_private_message"/>
<CheckBoxPreference
android:key="preference_push_gifted_gems"
android:defaultValue="true"
android:title="@string/preference_push_gifted_gems"/>
<CheckBoxPreference
android:key="preference_push_gifted_subscription"
android:defaultValue="true"
android:title="@string/preference_push_gifted_subscription"/>
<CheckBoxPreference
android:key="preference_push_invited_to_party"
android:defaultValue="true"
android:title="@string/preference_push_invited_to_party"/>
<CheckBoxPreference
android:key="preference_push_invited_to_guild"
android:defaultValue="true"
android:title="@string/preference_push_invited_to_guild"/>
<CheckBoxPreference
android:key="preference_push_your_quest_has_begun"
android:defaultValue="true"
android:title="@string/preference_push_your_quest_has_begun"/>
<CheckBoxPreference
android:key="preference_push_invited_to_quest"
android:defaultValue="true"
android:title="@string/preference_push_invited_to_quest"/>
</PreferenceCategory>
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>