From cdbc20ef11639e8e953a88b458c3046dfc26bd5d Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 13 Feb 2020 00:23:59 +0100 Subject: use translucent actionbar & system UI --- app/src/main/res/layout/activity_main.xml | 44 ++++++++++++++++++------------- 1 file changed, 26 insertions(+), 18 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index f195562..4521d0a 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -11,26 +11,34 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> - + android:layout_height="match_parent" + android:fitsSystemWindows="true"> - - - - - + android:layout_height="wrap_content" + android:background="@color/colorPrimaryTranslucent" + app:elevation="0dp" + android:theme="@style/AppTheme.AppBarOverlay"> + + + + + + + + \ No newline at end of file -- cgit v1.2.3