From d0e79b6fbb53c94cf979671828b5ae4258011837 Mon Sep 17 00:00:00 2001 From: kubasz Date: Sun, 11 Aug 2019 16:04:13 +0200 Subject: [PATCH] Fix toolbar Z-index & elevation --- navlib/src/main/res/layout/nav_view.xml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/navlib/src/main/res/layout/nav_view.xml b/navlib/src/main/res/layout/nav_view.xml index 54a81a0..c0c84ee 100644 --- a/navlib/src/main/res/layout/nav_view.xml +++ b/navlib/src/main/res/layout/nav_view.xml @@ -7,16 +7,13 @@ android:orientation="vertical" tools:parentTag="FrameLayout"> - - - + android:layout_height="?attr/actionBarSize" + android:elevation="4dp" + android:background="?nv_actionBarBackground" + app:title="@string/app_name" /> + android:layout_height="match_parent" + android:translationZ="10dp">