From 413a18f6d39bf274369d7a1ee3279e20d3a608a7 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 10 Aug 2019 18:29:04 +0800 Subject: Make navigation bar and status bar transparent to display posts, comments, subreddits and users under them. Minor UI tweaks for bottom sheet fragments. --- app/src/main/res/layout/activity_search_result.xml | 52 +++++++++++++--------- .../layout/activity_subscribed_thing_listing.xml | 20 ++++++--- app/src/main/res/layout/app_bar_main.xml | 2 + .../main/res/layout/fragment_comments_listing.xml | 3 +- .../res/layout/fragment_followed_users_listing.xml | 3 +- app/src/main/res/layout/fragment_post.xml | 3 +- .../main/res/layout/fragment_subreddit_listing.xml | 3 +- .../fragment_subscribed_subreddits_listing.xml | 3 +- app/src/main/res/layout/fragment_user_listing.xml | 3 +- 9 files changed, 60 insertions(+), 32 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_search_result.xml b/app/src/main/res/layout/activity_search_result.xml index 797b08d3..8620b0ec 100644 --- a/app/src/main/res/layout/activity_search_result.xml +++ b/app/src/main/res/layout/activity_search_result.xml @@ -11,38 +11,48 @@ android:layout_height="wrap_content" android:theme="@style/AppTheme.AppBarOverlay"> - + android:layout_height="match_parent" + app:layout_scrollFlags="scroll|enterAlways" + app:titleEnabled="false" + app:toolbarId="@+id/toolbar_search_result_activity"> - + android:layout_height="wrap_content"> - + + + + + - + - + android:layout_height="match_parent" + app:layout_scrollFlags="scroll|enterAlways" + app:titleEnabled="false" + app:toolbarId="@+id/toolbar_subscribed_thing_listing_activity"> + + + + diff --git a/app/src/main/res/layout/fragment_comments_listing.xml b/app/src/main/res/layout/fragment_comments_listing.xml index e0741118..7dfb31e4 100644 --- a/app/src/main/res/layout/fragment_comments_listing.xml +++ b/app/src/main/res/layout/fragment_comments_listing.xml @@ -21,7 +21,8 @@ + android:layout_height="match_parent" + android:clipToPadding="false" /> + android:layout_height="match_parent" + android:clipToPadding="false" /> + android:layout_height="match_parent" + android:clipToPadding="false" /> + android:layout_height="match_parent" + android:clipToPadding="false" /> + android:layout_height="match_parent" + android:clipToPadding="false" /> + android:layout_height="match_parent" + android:clipToPadding="false" />