From cf1d14264d305f079f6d1aaa93dd0d499eb48ade Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 24 Sep 2020 15:20:11 +0800 Subject: Support showing subscribed subreddits in the main page. --- app/src/main/res/layout/app_bar_main.xml | 1 - .../layout/fragment_customize_main_page_tabs.xml | 67 +++++++++++++++++++--- .../main/res/layout/fragment_nsfw_and_spoiler.xml | 6 +- 3 files changed, 61 insertions(+), 13 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index 023ee042..5272b575 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -40,7 +40,6 @@ app:layout_scrollFlags="scroll|enterAlways" app:tabGravity="fill" app:tabIndicatorHeight="3dp" - app:tabMode="fixed" app:tabRippleColor="?attr/colorControlHighlight" app:tabUnboundedRipple="false" /> 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 a6803e7f..bd91d961 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 @@ -60,7 +60,7 @@ android:layout_height="wrap_content" android:text="@string/settings_tab_title" android:textColor="@color/primaryTextColor" - android:textSize="?attr/font_18" + android:textSize="?attr/font_16" android:fontFamily="?attr/font_family" /> + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml b/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml index a1f53ee2..ccb9ff66 100644 --- a/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml +++ b/app/src/main/res/layout/fragment_nsfw_and_spoiler.xml @@ -34,7 +34,7 @@ android:drawablePadding="32dp" android:text="@string/settings_enable_nsfw_title" android:textColor="?attr/primaryTextColor" - android:textSize="?attr/font_default" + android:textSize="?attr/font_16" android:fontFamily="?attr/font_family" />