diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-24 14:27:05 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-24 14:27:05 +0000 |
commit | 73c4ead2c05609b20bd1a6cabb45f4fe61a9b042 (patch) | |
tree | a5ab01dd38c9440835c1cf8e1ab7f8f45722c5e0 /app/src/main/res | |
parent | 0c251c972c61867f7ebe802390df2ace9c19761f (diff) | |
download | infinity-for-reddit-73c4ead2c05609b20bd1a6cabb45f4fe61a9b042.tar infinity-for-reddit-73c4ead2c05609b20bd1a6cabb45f4fe61a9b042.tar.gz infinity-for-reddit-73c4ead2c05609b20bd1a6cabb45f4fe61a9b042.tar.bz2 infinity-for-reddit-73c4ead2c05609b20bd1a6cabb45f4fe61a9b042.tar.lz infinity-for-reddit-73c4ead2c05609b20bd1a6cabb45f4fe61a9b042.tar.xz infinity-for-reddit-73c4ead2c05609b20bd1a6cabb45f4fe61a9b042.tar.zst infinity-for-reddit-73c4ead2c05609b20bd1a6cabb45f4fe61a9b042.zip |
Add favorite subreddits to the navigation drawer. Add favorite and subscriptions header to the navigation drawer.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/fragment_customize_main_page_tabs.xml | 13 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_customize_main_page_tabs.xml b/app/src/main/res/layout/fragment_customize_main_page_tabs.xml index c9991b92..f20ec4d3 100644 --- a/app/src/main/res/layout/fragment_customize_main_page_tabs.xml +++ b/app/src/main/res/layout/fragment_customize_main_page_tabs.xml @@ -447,6 +447,19 @@ android:textSize="?attr/font_default" android:fontFamily="?attr/font_family" /> + <TextView + android:id="@+id/more_tabs_info_text_view_customize_main_page_tabs_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="16dp" + android:drawablePadding="32dp" + android:text="@string/settings_more_tabs_info_summary" + android:textColor="@color/settingsSubtitleColor" + android:gravity="center_vertical" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" + app:drawableStartCompat="@drawable/ic_info_preference_24dp" /> + <LinearLayout android:id="@+id/show_favorite_subscribed_subreddits_linear_layout_customize_main_page_tabs_fragment" android:layout_width="match_parent" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b0341de1..5a30de5a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -341,7 +341,7 @@ <string name="settings_start_autoplay_visible_area_offset_landscape_title">Autoplay Videos Visible Area Offset (Landscape)</string> <string name="settings_start_autoplay_visible_area_offset_landscape_summary">Start autoplaying videos when %1$d%% of them are visible</string> <string name="settings_immersive_interface_title">Immersive Interface</string> - <string name="settings_immersive_interface_summary">Does Not Apply to All Pages\nMay Not Work On Android 11</string> + <string name="settings_immersive_interface_summary">Does Not Apply to All Pages</string> <string name="settings_immersive_interface_ignore_nav_bar_title">Ignore Navigation Bar in Immersive Interface</string> <string name="settings_immersive_interface_ignore_nav_bar_summary">Prevent the Bottom Navigation Bar Having Extra Padding</string> <string name="settings_customize_tabs_in_main_page_title">Customize Tabs in Main Page</string> @@ -453,6 +453,7 @@ <string name="settings_tab_2_summary">Tab 2</string> <string name="settings_tab_3_summary">Tab 3</string> <string name="settings_more_tabs_summary">More Tabs</string> + <string name="settings_more_tabs_info_summary">Enabling the following options will cause an unintended behaviour:\nTabs may lose all the content after switching to others. This is the same as refreshing the page.</string> <string name="settings_more_tabs_show_favorite_subscribed_subreddits_title">Show Favorite Subscribed Subreddits</string> <string name="settings_more_tabs_show_subscribed_subreddits_title">Show Subscribed Subreddits</string> <string name="settings_tab_title">Title</string> |