From c06968d217893c63374c23e3a5a011bd6b212f40 Mon Sep 17 00:00:00 2001 From: ErikWaegerle Date: Tue, 9 Jun 2020 23:52:34 +0200 Subject: [PATCH 01/20] Introduction of new attributes to change the background color (DarkMode/DayMode) of the tutorial slides (1-3) --- app/src/main/res/layout/tutorial_slide1.xml | 2 +- app/src/main/res/layout/tutorial_slide2.xml | 2 +- app/src/main/res/layout/tutorial_slide3.xml | 4 ++-- app/src/main/res/values-night/styles.xml | 2 ++ app/src/main/res/values/attrs.xml | 2 ++ app/src/main/res/values/styles.xml | 2 ++ 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/tutorial_slide1.xml b/app/src/main/res/layout/tutorial_slide1.xml index c24dd62..880eea7 100644 --- a/app/src/main/res/layout/tutorial_slide1.xml +++ b/app/src/main/res/layout/tutorial_slide1.xml @@ -2,7 +2,7 @@ + android:background="?attr/backgroundTutorialSlide"> + android:background="?attr/backgroundTutorialSlide"> + android:background="?attr/backgroundTutorialSlide"> diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml index 5ca9ee4..81dbff3 100644 --- a/app/src/main/res/values-night/styles.xml +++ b/app/src/main/res/values-night/styles.xml @@ -20,6 +20,8 @@ @color/middlegrey @color/yellow @color/cardview_dark_background + @color/colorPrimaryDark + @color/colorPrimaryDark