diff options
author | Andrew Dolgov <[email protected]> | 2015-02-13 01:08:38 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-02-13 01:08:38 +0300 |
commit | dbe686598068a714fa2e8c5de3f337a8ee729204 (patch) | |
tree | 406fa204bbabf017126b306362649de4e82c6672 /org.fox.ttrss/src/main/res | |
parent | 4d9949aabe1968e9268e4b6b5c79b47898086dd1 (diff) |
widget: default to showing fresh articles instead of global unread
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/widget_small.xml | 2 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/res/values/strings.xml | 2 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/res/xml/preferences.xml | 7 |
3 files changed, 10 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/widget_small.xml b/org.fox.ttrss/src/main/res/layout/widget_small.xml index 1242cef5..21620e87 100644 --- a/org.fox.ttrss/src/main/res/layout/widget_small.xml +++ b/org.fox.ttrss/src/main/res/layout/widget_small.xml @@ -25,7 +25,7 @@ android:layout_height="wrap_content" android:layout_gravity="bottom|center" android:gravity="center_horizontal" - android:text="123" + android:text="@string/app_name" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="@android:color/primary_text_dark" android:textSize="13sp" /> diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml index 86479ca2..177b331f 100755 --- a/org.fox.ttrss/src/main/res/values/strings.xml +++ b/org.fox.ttrss/src/main/res/values/strings.xml @@ -217,4 +217,6 @@ <string name="prefs_build_timestamp">%1$s</string> <string name="prefs_build_timestamp_title">Build timestamp</string> <string name="crash_dialog_text">Unfortunately, Tiny Tiny RSS has stopped. Submit crash report to tt-rss.org?</string> + <string name="prefs_widget_show_fresh">Show Fresh articles</string> + <string name="prefs_widget_show_fresh_summary">Instead of total unread display amount of Fresh articles</string> </resources> diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml index e4dfe5ab..3bc7225a 100755 --- a/org.fox.ttrss/src/main/res/xml/preferences.xml +++ b/org.fox.ttrss/src/main/res/xml/preferences.xml @@ -171,6 +171,13 @@ android:summary="@string/offline_image_cache_enabled_summary" android:title="@string/offline_image_cache_enabled" /> </PreferenceCategory> + <PreferenceCategory android:title="Widget" > + <CheckBoxPreference + android:defaultValue="true" + android:key="widget_show_fresh" + android:title="@string/prefs_widget_show_fresh" + android:summary="@string/prefs_widget_show_fresh_summary" /> + </PreferenceCategory> <PreferenceCategory android:title="@string/debugging" > <CheckBoxPreference android:defaultValue="true" |