From 4a1618b3d967fedb3437e0ce0456bbd84f899538 Mon Sep 17 00:00:00 2001 From: CappielloAntonio Date: Thu, 29 Apr 2021 12:57:05 +0200 Subject: [PATCH] Set transparent status bar in artist page --- app/src/main/res/layout/activity_main.xml | 1 - app/src/main/res/layout/fragment_artist_page.xml | 12 ++++++------ app/src/main/res/values-night/styles.xml | 7 ++++--- app/src/main/res/values/styles.xml | 8 +++++--- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index ed92275b..d6d232b7 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -3,7 +3,6 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:fitsSystemWindows="true" android:orientation="vertical"> + android:layout_height="match_parent" + android:fitsSystemWindows="true"> + app:layout_collapseMode="parallax" + android:fitsSystemWindows="true"/> + android:background="@drawable/gradient_backdrop_background_image"/> @color/colorAccent @color/colorPrimary - @android:color/transparent - @color/colorPrimary + true false false - true + @android:color/transparent + @color/colorPrimary + false false @style/AppTheme.Dialog diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index b994fab7..207ec9c3 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -7,11 +7,13 @@ @color/colorAccent @color/colorPrimary - @android:color/transparent - @color/colorPrimary + + true true true - true + @android:color/transparent + @android:color/transparent + false false @style/AppTheme.Dialog