Skip to content

Commit

Permalink
pref strings
Browse files Browse the repository at this point in the history
  • Loading branch information
quaap committed Jan 26, 2017
1 parent b2c0a2f commit 35968ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,8 @@
<string name="pref_app_system">App and System</string>
<string name="pref_hide_empty_cat">Hide empty categories</string>
<string name="prefs_new_apps_cat">Auto-categorize new apps</string>
<string name="prefs_empty_cats_hid">Empty categories will be hidden</string>
<string name="prefs_empty_cats_show">Empty categories will be shown</string>
<string name="prefs_cat_apps">Apps will be categorized</string>
<string name="prefs_cat_no">Apps will be placed in \"Other\"</string>
</resources>
8 changes: 6 additions & 2 deletions app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@
<CheckBoxPreference
android:defaultValue="false"
android:title="@string/pref_hide_empty_cat"
android:key="pref_hide_empty_cat" />
android:key="pref_hide_empty_cat"
android:summaryOn="@string/prefs_empty_cats_hid"
android:summaryOff="@string/prefs_empty_cats_show" />

<CheckBoxPreference
android:defaultValue="true"
android:title="@string/prefs_new_apps_cat"
android:key="prefs_autocat" />
android:key="prefs_autocat"
android:summaryOn="@string/prefs_cat_apps"
android:summaryOff="@string/prefs_cat_no" />

<PreferenceScreen
android:title="@string/pref_senddat"
Expand Down

0 comments on commit 35968ed

Please sign in to comment.