Skip to content

Commit

Permalink
Change preference category layout
Browse files Browse the repository at this point in the history
See #29

Group the settings into 4 categories as per the material design
guidelines. https://www.google.com/design/spec/patterns/settings.html
  • Loading branch information
raatmarien committed Apr 3, 2016
1 parent c8bd6b5 commit 2aefa27
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@
<string name="email_me_summary">Schreiben Sie mir eine Email für Vorschläge oder Fehlerberichte</string>
<string name="email_me_title">Schreiben Sie mit an marienraat@riseup.net</string>
<string name="ok_dialog">OK</string>
<string name="pref_title_app_appearance">Aussehen</string>
<string name="pref_title_automatic_filter">Automatischer Filter</string>
<string name="pref_title_contact">Kontakt</string>
<string name="project_page_summary">Mehr Informationen, Feedback und eigener Beitrag</string>
<string name="project_page_title">Homepage des Projektes</string>
<string name="remove_profile_dialog_title">Dieses Profil löschen?</string>
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
<string name="pref_title_appearance">پالایه</string>
<string name="pref_title_automatic_filter">پالایهٔ خودکار</string>
<string name="pref_title_startup">روشن شدن</string>
<string name="pref_title_app_appearance">ظاهر</string>
<string name="pref_title_contact">تماس</string>

<string name="button_add_profile">افزودن</string>
<string name="button_remove_profile">حذف</string>
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@
<string name="pref_title_appearance">Filtras</string>
<string name="pref_title_automatic_filter">Automatinis filtras</string>
<string name="pref_title_startup">Paleistis</string>
<string name="pref_title_app_appearance">Išvaizda</string>
<string name="pref_title_contact">Susiekiti</string>

<string name="button_add_profile">Pridėti</string>
<string name="button_remove_profile">Ištrinti</string>
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
<string name="pref_title_appearance">Filter</string>
<string name="pref_title_automatic_filter">Automatic filter</string>
<string name="pref_title_startup">Startup</string>
<string name="pref_title_app_appearance">Appearance</string>
<string name="pref_title_contact">Contact</string>
<string name="pref_title_other">Other</string>

<string name="button_add_profile">Add</string>
<string name="button_remove_profile">Delete</string>
Expand Down
5 changes: 1 addition & 4 deletions app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,11 @@
android:defaultValue="false" />
</PreferenceCategory>

<PreferenceCategory android:title="@string/pref_title_app_appearance">
<PreferenceCategory android:title="@string/pref_title_other">
<SwitchPreference
android:key="@string/pref_key_dark_theme"
android:title="@string/dark_theme"
android:defaultValue="false" />
</PreferenceCategory>

<PreferenceCategory android:title="@string/pref_title_contact">
<Preference
android:title="@string/project_page_title"
android:summary="@string/project_page_summary" >
Expand Down

0 comments on commit 2aefa27

Please sign in to comment.