Implemented the feature using multiple checkboxes
This commit is contained in:
parent
9c82441c19
commit
cd8d57040c
8 changed files with 107 additions and 158 deletions
|
|
@ -4,31 +4,9 @@
|
|||
|
||||
<item
|
||||
android:id="@+id/menu_item_feed_toggle_played_items"
|
||||
android:checkable="false"
|
||||
android:checked="false"
|
||||
android:orderInCategory="2"
|
||||
android:icon="@drawable/ic_visibility_on"
|
||||
android:title="@string/feed_change_stream_visibility_state"
|
||||
app:showAsAction="ifRoom">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/menu_item_feed_toggle_show_all_items"
|
||||
android:title="@string/feed_stream_visibility_show_all"/>
|
||||
<item
|
||||
android:id="@+id/menu_item_feed_toggle_show_played_items"
|
||||
android:title="@string/feed_stream_visibility_hide_watched"/>
|
||||
<item
|
||||
android:id="@+id/menu_item_feed_toggle_partially_played_items"
|
||||
android:title="@string/feed_stream_visibility_hide_partially_watched"/>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_item_feed_toggle_future_items"
|
||||
android:orderInCategory="3"
|
||||
android:checkable="true"
|
||||
android:checked="true"
|
||||
android:icon="@drawable/ic_history_future"
|
||||
android:title="@string/feed_toggle_show_future_items"
|
||||
android:title="@string/feed_show_hide_streams"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
|
|
|
|||
|
|
@ -283,7 +283,8 @@
|
|||
|
||||
<string name="feed_update_threshold_key">feed_update_threshold_key</string>
|
||||
<string name="feed_update_threshold_default_value">300</string>
|
||||
<string name="feed_stream_visibility_state_key">feed_stream_visibility_state</string>
|
||||
<string name="feed_show_watched_items_key">feed_show_watched_items</string>
|
||||
<string name="feed_show_partially_watched_items_key">feed_show_partially_watched_items</string>
|
||||
<string name="feed_show_future_items_key">feed_show_future_items</string>
|
||||
|
||||
<string name="show_thumbnail_key">show_thumbnail_key</string>
|
||||
|
|
|
|||
|
|
@ -691,7 +691,8 @@
|
|||
\nYouTube is an example of a service that offers this fast method with its RSS feed.
|
||||
\n
|
||||
\nSo the choice boils down to what you prefer: speed or precise information.</string>
|
||||
<string name="feed_change_stream_visibility_state">Show/hide watched streams</string>
|
||||
<string name="feed_hide_streams_title">Hide the following streams</string>
|
||||
<string name="feed_show_hide_streams">Show/Hide streams</string>
|
||||
<string name="content_not_supported">This content is not yet supported by NewPipe.\n\nIt will hopefully be supported in a future version.</string>
|
||||
<string name="detail_sub_channel_thumbnail_view_description">Channel\'s avatar thumbnail</string>
|
||||
<string name="channel_created_by">Created by %s</string>
|
||||
|
|
@ -759,8 +760,8 @@
|
|||
<string name="unknown_quality">Unknown quality</string>
|
||||
<string name="feed_toggle_show_future_items">Show future items</string>
|
||||
<string name="feed_toggle_hide_future_items">Hide future items</string>
|
||||
<string name="feed_stream_visibility_hide_partially_watched">Hide Watched </string>
|
||||
<string name="feed_stream_visibility_hide_watched">Hide Fully Watched</string>
|
||||
<string name="feed_stream_visibility_show_all">Show All</string>
|
||||
<string name="feed_show_watched">Fully Watched</string>
|
||||
<string name="feed_show_partially_watched">Partially Watched</string>
|
||||
<string name="feed_show_upcoming">Upcoming</string>
|
||||
<string name="sort">Sort</string>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue