summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-21 10:03:50 +0400
committerAndrew Dolgov <[email protected]>2013-03-21 10:03:50 +0400
commit7358405040a93a1688b434f762937ad4840aede0 (patch)
treed1cf4f4dab913a161c5f1bd17328b2cfc0b248a7 /res
parentb76380a3886ab0357feedbd12729260dca8038c3 (diff)
add an option to hide content previews in headlines list (closes #606)
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/preferences.xml8
2 files changed, 9 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b93e47a6..f21ef831 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -158,4 +158,6 @@
<string name="theme_dark_gray">Dark gray</string>
<string name="offline_articles_to_download">Number of articles to download</string>
<string name="offline_articles_to_download_long">Number of articles to download for Offlinemode. (newest first)</string>
+ <string name="pref_headlines_show_content_long">Show content previews in headlines list</string>
+ <string name="pref_headlines_show_content">Preview article content</string>
</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 4976bca6..74d284f9 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -86,6 +86,12 @@
android:key="default_view_mode"
android:summary="@string/pref_default_view_mode_long"
android:title="@string/pref_default_view_mode" />
+
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="headlines_show_content"
+ android:summary="@string/pref_headlines_show_content_long"
+ android:title="@string/pref_headlines_show_content" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/reading" >
<ListPreference
@@ -140,4 +146,4 @@
android:title="@string/transport_debugging" />
</PreferenceCategory>
-</PreferenceScreen>
+</PreferenceScreen> \ No newline at end of file