From 93736af2984e79ba63137048a4941fe9e4c07439 Mon Sep 17 00:00:00 2001 From: oliexdev Date: Tue, 24 Nov 2020 06:45:02 +0100 Subject: [PATCH] fixed background and image colour in dark mode --- .../app/src/main/res/layout/slide_bluetooth.xml | 12 ++++++------ .../app/src/main/res/layout/slide_metrics.xml | 8 ++++---- .../app/src/main/res/layout/slide_opensource.xml | 8 ++++---- .../app/src/main/res/layout/slide_privacy.xml | 8 ++++---- .../app/src/main/res/layout/slide_support.xml | 8 ++++---- android_app/app/src/main/res/layout/slide_user.xml | 12 ++++++------ .../app/src/main/res/layout/slide_welcome.xml | 6 +++--- 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/android_app/app/src/main/res/layout/slide_bluetooth.xml b/android_app/app/src/main/res/layout/slide_bluetooth.xml index 19525dfb..8d7fd07a 100644 --- a/android_app/app/src/main/res/layout/slide_bluetooth.xml +++ b/android_app/app/src/main/res/layout/slide_bluetooth.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:background="@android:color/white"> + android:background="?android:attr/windowBackground"> + app:tint="?android:attr/textColorSecondary" + app:srcCompat="@drawable/ic_bluetooth_device_supported" /> + android:textSize="14sp" /> + android:layout_marginBottom="250px" /> \ No newline at end of file diff --git a/android_app/app/src/main/res/layout/slide_metrics.xml b/android_app/app/src/main/res/layout/slide_metrics.xml index 629638fa..e4c3d0ed 100644 --- a/android_app/app/src/main/res/layout/slide_metrics.xml +++ b/android_app/app/src/main/res/layout/slide_metrics.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@android:color/white"> + android:background="?android:attr/windowBackground"> + app:tint="?android:attr/textColorSecondary" + app:srcCompat="@drawable/ic_preferences_graph" /> + android:layout_marginBottom="250px" /> \ No newline at end of file diff --git a/android_app/app/src/main/res/layout/slide_opensource.xml b/android_app/app/src/main/res/layout/slide_opensource.xml index 03bb70b2..42a10d8d 100644 --- a/android_app/app/src/main/res/layout/slide_opensource.xml +++ b/android_app/app/src/main/res/layout/slide_opensource.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@android:color/white"> + android:background="?android:attr/windowBackground"> + app:tint="?android:attr/textColorSecondary" + app:srcCompat="@drawable/ic_slide_opensource" /> + android:layout_marginBottom="250px" /> \ No newline at end of file diff --git a/android_app/app/src/main/res/layout/slide_privacy.xml b/android_app/app/src/main/res/layout/slide_privacy.xml index bd5920b7..bf49c28c 100644 --- a/android_app/app/src/main/res/layout/slide_privacy.xml +++ b/android_app/app/src/main/res/layout/slide_privacy.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@android:color/white"> + android:background="?android:attr/windowBackground"> + app:tint="?android:attr/textColorSecondary" + app:srcCompat="@drawable/ic_slide_privacy" /> + android:layout_marginBottom="250px" /> \ No newline at end of file diff --git a/android_app/app/src/main/res/layout/slide_support.xml b/android_app/app/src/main/res/layout/slide_support.xml index f4e25983..c521af13 100644 --- a/android_app/app/src/main/res/layout/slide_support.xml +++ b/android_app/app/src/main/res/layout/slide_support.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@android:color/white"> + android:background="?android:attr/windowBackground"> + app:tint="?android:attr/textColorSecondary" + app:srcCompat="@drawable/ic_slide_support" /> + android:layout_marginBottom="250px" /> \ No newline at end of file diff --git a/android_app/app/src/main/res/layout/slide_user.xml b/android_app/app/src/main/res/layout/slide_user.xml index d56fd3ca..d9241f65 100644 --- a/android_app/app/src/main/res/layout/slide_user.xml +++ b/android_app/app/src/main/res/layout/slide_user.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@android:color/white"> + android:background="?android:attr/windowBackground"> + app:tint="?android:attr/textColorSecondary" + app:srcCompat="@drawable/ic_slide_group" /> + android:textSize="14sp" /> + android:layout_marginBottom="250px" /> \ No newline at end of file diff --git a/android_app/app/src/main/res/layout/slide_welcome.xml b/android_app/app/src/main/res/layout/slide_welcome.xml index ecb50276..c75dc9fe 100644 --- a/android_app/app/src/main/res/layout/slide_welcome.xml +++ b/android_app/app/src/main/res/layout/slide_welcome.xml @@ -3,7 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@android:color/white"> + android:background="?android:attr/windowBackground"> @@ -41,6 +41,6 @@ + android:layout_marginBottom="250px" /> \ No newline at end of file