From 90c7c664053efe0f09c971ba5ee7a63b3a57b3c6 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 12 Aug 2019 09:26:27 +0800 Subject: Fixed nav bar icon color in dark theme. Transparent nav bar in SubredditSelectionActivity for Android version >= 8.1. --- app/src/main/res/layout/activity_rules.xml | 34 ++++++++++++++++++++-- .../res/layout/activity_subreddit_selection.xml | 20 +++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_rules.xml b/app/src/main/res/layout/activity_rules.xml index a5764fa9..55f0ba07 100644 --- a/app/src/main/res/layout/activity_rules.xml +++ b/app/src/main/res/layout/activity_rules.xml @@ -6,22 +6,50 @@ android:layout_height="match_parent" tools:application=".RulesActivity"> + + + + + + + + + + + android:layout_gravity="center" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + android:layout_height="match_parent" + android:clipToPadding="false" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> + android:visibility="gone" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_subreddit_selection.xml b/app/src/main/res/layout/activity_subreddit_selection.xml index 6306a39f..92be6bbe 100644 --- a/app/src/main/res/layout/activity_subreddit_selection.xml +++ b/app/src/main/res/layout/activity_subreddit_selection.xml @@ -7,16 +7,26 @@ tools:application=".SubredditSelectionActivity"> - + android:layout_height="match_parent" + app:layout_scrollFlags="scroll|enterAlways" + app:titleEnabled="false" + app:toolbarId="@+id/toolbar_subreddit_selection_activity"> + + + + -- cgit v1.2.3