summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorErik Hardesty <[email protected]>2013-03-30 17:58:55 -0500
committerErik Hardesty <[email protected]>2013-03-30 17:58:55 -0500
commitb7e5436576be1b84225b9e2e8c7ca32dfb55822c (patch)
tree3e5c58bb38e611ff41c239616ec63812ba11f899 /res
parent5792022b559eb3ac886f363f76b6f3857efb8d29 (diff)
Add mark read on scroll for headlines
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/preferences.xml4
2 files changed, 6 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 5e96736a..5d9c7c58 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -186,4 +186,6 @@
<string name="headlines_starred">Starred</string>
<string name="headlines_published">Published</string>
<string name="headlines_unread">Unread</string>
+ <string name="pref_headlines_mark_read_scroll">Mark read on scroll</string>
+ <string name="pref_headlines_mark_read_scroll_long">Headlines will be marked read when scrolling past them</string>
</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 74d284f9..095f52cb 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -92,6 +92,10 @@
android:key="headlines_show_content"
android:summary="@string/pref_headlines_show_content_long"
android:title="@string/pref_headlines_show_content" />
+ <CheckBoxPreference android:key="headlines_mark_read_scroll"
+ android:title="@string/pref_headlines_mark_read_scroll"
+ android:summary="@string/pref_headlines_mark_read_scroll_long"
+ android:defaultValue="false"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/reading" >
<ListPreference