summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-26 09:31:14 +0300
committerAndrew Dolgov <[email protected]>2011-11-26 09:31:14 +0300
commit10672b110fb20c40ec867f4ded87be8b6b826b17 (patch)
tree09b51edbcb338d23d0879fc162ff497280f396be /res
parenta950ebbddbfa4e01abad4b75d2a05c55ca9b667d (diff)
add preference to sort feeds by unread
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml1
-rw-r--r--res/xml/preferences.xml4
2 files changed, 4 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b951c291..84b0632c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -32,4 +32,5 @@
<string name="close_article">Close article</string>
<string name="share_article">Share article</string>
<string name="could_not_decode_content">Could not decode content (UnsupportedEncodingException)</string>
+ <string name="sort_feeds_by_unread">Sort feeds by unread count</string>
</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 9f200274..10cb3cca 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -18,7 +18,9 @@
android:key="theme"
android:defaultValue="THEME_DARK"
android:entries="@array/pref_theme_names"
- android:entryValues="@array/pref_theme_values" android:summary="@string/pref_theme_long"/>
+ android:entryValues="@array/pref_theme_values" android:summary="@string/pref_theme_long"/>
+
+ <CheckBoxPreference android:title="@string/sort_feeds_by_unread" android:key="sort_feeds_by_unread"/>
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file