diff options
| author | Tyler Nijmeh <tylernij@gmail.com> | 2021-03-31 00:57:45 -0700 |
|---|---|---|
| committer | Tyler Nijmeh <tylernij@gmail.com> | 2021-03-31 00:57:45 -0700 |
| commit | b8efe157978c2e648e2d1ba1408122bad0365a30 (patch) | |
| tree | 90832e540ae974236b8b5a4ca58d9c670327c931 /app/src/main/res/xml | |
| parent | 9ce17e0dc3e17c3a640363247667409e67ca68ae (diff) | |
Migrate to preference screen
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
Diffstat (limited to 'app/src/main/res/xml')
| -rw-r--r-- | app/src/main/res/xml/main.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app/src/main/res/xml/main.xml b/app/src/main/res/xml/main.xml new file mode 100644 index 0000000..b383e10 --- /dev/null +++ b/app/src/main/res/xml/main.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + <PreferenceCategory android:title="@string/category_actions"> + <Preference + android:title="@string/profile_title_reset" + android:summary="@string/profile_summary_reset" + android:key="@string/profile_key_reset" /> + <Preference + android:title="@string/profile_title_light" + android:summary="@string/profile_summary_light" + android:key="@string/profile_key_light" /> + <Preference + android:title="@string/profile_title_moderate" + android:summary="@string/profile_summary_moderate" + android:key="@string/profile_key_moderate" /> + <Preference + android:title="@string/profile_title_high" + android:summary="@string/profile_summary_high" + android:key="@string/profile_key_high" /> + <Preference + android:title="@string/profile_title_extreme" + android:summary="@string/profile_summary_extreme" + android:key="@string/profile_key_extreme" /> + </PreferenceCategory> + <PreferenceCategory android:title="@string/category_about"> + <Preference + android:title="@string/pref_developer_title" + android:summary="@string/pref_developer_summary" + android:key="@string/pref_developer_key" + android:icon="@drawable/ic_baseline_person_pin_24" /> + <Preference + android:title="@string/pref_source_title" + android:summary="@string/pref_source_summary" + android:key="@string/pref_source_key" + android:icon="@drawable/ic_baseline_code_24" /> + <Preference + android:title="@string/pref_contact_title" + android:summary="@string/pref_contact_summary" + android:key="@string/pref_contact_key" + android:icon="@drawable/ic_baseline_email_24" /> + <Preference + android:title="@string/pref_licenses_title" + android:summary="@string/pref_licenses_summary" + android:key="@string/pref_licenses_key" + android:icon="@drawable/ic_baseline_insert_drive_file_24" /> + </PreferenceCategory> +</PreferenceScreen>
\ No newline at end of file |
