diff options
author | Andrew Dolgov <[email protected]> | 2011-11-29 13:02:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-29 13:02:16 +0300 |
commit | 980b5696e34b7025cd62d829fa9032bc864c2ab6 (patch) | |
tree | 989d4b5ffdade9817397dea1f719e67bfcfaa862 /res | |
parent | 97ecce1d42ef87f3786aa7f51e29dd1c05d34c41 (diff) |
implement browsing categories like feeds
Diffstat (limited to 'res')
-rw-r--r-- | res/menu/category_menu.xml | 11 | ||||
-rw-r--r-- | res/values/strings.xml | 4 | ||||
-rw-r--r-- | res/xml/preferences.xml | 2 |
3 files changed, 15 insertions, 2 deletions
diff --git a/res/menu/category_menu.xml b/res/menu/category_menu.xml new file mode 100644 index 00000000..d437a0ca --- /dev/null +++ b/res/menu/category_menu.xml @@ -0,0 +1,11 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <item + android:id="@+id/browse_articles" + android:title="Browse articles"/> + + <item + android:id="@+id/browse_feeds" + android:title="Browse feeds"/> + +</menu>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 2bd63ab7..6f2f0a8c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -52,8 +52,8 @@ <string name="back_to_categories">Close category</string> <string name="no_feeds_to_display">No feeds to display</string> <string name="no_headlines_to_display">No headlines to display</string> - - <string name="error_template">Error: %1$s</string> + <string name="browse_cats_like_feeds">Browse categories like feeds</string> + <string name="browse_cats_like_feeds_summary">You can long-tap on a category to override this setting</string> <string name="error_no_error">No error</string> <string name="error_unknown">Error: Unknown error (see log)</string> diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index dff4afdf..6c397f24 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -27,6 +27,8 @@ <CheckBoxPreference android:defaultValue="false" android:title="@string/sort_feeds_by_unread" android:key="sort_feeds_by_unread"/>
<CheckBoxPreference android:defaultValue="false" android:title="@string/download_feed_icons" android:key="download_feed_icons"/>
<CheckBoxPreference android:defaultValue="false" android:title="@string/enable_cats" android:key="enable_cats" />
+ <CheckBoxPreference android:defaultValue="false" android:title="@string/browse_cats_like_feeds" android:key="browse_cats_like_feeds"
+ android:summary="@string/browse_cats_like_feeds_summary" />
<CheckBoxPreference android:defaultValue="false" android:summary="@string/enable_ads_summary" android:title="@string/enable_ads" android:key="enable_ads" />
</PreferenceCategory>
|