From 014168183528615c8d6a644e5db5221b80772919 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Wed, 12 Oct 2022 13:22:50 +0600 Subject: [PATCH] 745-Fix_UI_issue_in_dark_mode issue: https://gitlab.e.foundation/e/os/backlog/-/issues/745 --- app/src/main/res/layout/about_translation.xml | 4 ++-- .../main/res/layout/account_collections.xml | 2 ++ app/src/main/res/layout/account_list.xml | 2 ++ .../res/layout/activity_add_webdav_mount.xml | 1 + .../main/res/layout/activity_debug_info.xml | 20 ++++++++++++++----- app/src/main/res/layout/activity_tasks.xml | 2 +- .../layout/intro_battery_optimizations.xml | 12 ++++++----- .../main/res/layout/webdav_mounts_item.xml | 1 + 8 files changed, 31 insertions(+), 13 deletions(-) diff --git a/app/src/main/res/layout/about_translation.xml b/app/src/main/res/layout/about_translation.xml index 37687d6cb..b0d857024 100644 --- a/app/src/main/res/layout/about_translation.xml +++ b/app/src/main/res/layout/about_translation.xml @@ -3,14 +3,14 @@ android:layout_width="match_parent" android:layout_height="wrap_content" xmlns:tools="http://schemas.android.com/tools" - xmlns:app="http://schemas.android.com/apk/res-auto" - app:contentPadding="@dimen/card_padding" android:layout_marginTop="8dp" android:layout_marginBottom="8dp"> diff --git a/app/src/main/res/layout/account_list.xml b/app/src/main/res/layout/account_list.xml index 18078361a..1c5c33bc2 100644 --- a/app/src/main/res/layout/account_list.xml +++ b/app/src/main/res/layout/account_list.xml @@ -31,6 +31,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/Widget.MaterialComponents.Button.TextButton" + android:textColor="@color/primaryTextColor" android:text="Manage connections" /> @@ -63,6 +64,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/Widget.MaterialComponents.Button.TextButton" + android:textColor="@color/primaryTextColor" android:text="Manage storage" /> diff --git a/app/src/main/res/layout/activity_add_webdav_mount.xml b/app/src/main/res/layout/activity_add_webdav_mount.xml index 2797006ca..67c0b5dc9 100644 --- a/app/src/main/res/layout/activity_add_webdav_mount.xml +++ b/app/src/main/res/layout/activity_add_webdav_mount.xml @@ -119,6 +119,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="end" + android:textColor="@color/primaryTextColor" android:text="@string/webdav_add_mount_add" /> diff --git a/app/src/main/res/layout/activity_debug_info.xml b/app/src/main/res/layout/activity_debug_info.xml index fd3ab5dc8..ac6abe3b9 100644 --- a/app/src/main/res/layout/activity_debug_info.xml +++ b/app/src/main/res/layout/activity_debug_info.xml @@ -22,6 +22,7 @@ @@ -42,7 +43,8 @@ + android:background="@color/foregroundColor" + android:paddingBottom="@dimen/card_padding"> @@ -139,7 +142,8 @@ @@ -239,7 +244,8 @@ @@ -327,7 +334,8 @@ + android:background="@color/foregroundColor" + android:padding="@dimen/card_padding"> + android:background="@color/foregroundColor" + android:padding="@dimen/card_padding"> diff --git a/app/src/main/res/layout/activity_tasks.xml b/app/src/main/res/layout/activity_tasks.xml index 98ae2209e..51730f42e 100644 --- a/app/src/main/res/layout/activity_tasks.xml +++ b/app/src/main/res/layout/activity_tasks.xml @@ -28,7 +28,7 @@ + android:layout_height="wrap_content" + android:padding="@dimen/card_padding" + android:background="@color/foregroundColor"> + android:visibility="@{model.Companion.manufacturerWarning ? View.VISIBLE : View.GONE}"> + android:layout_height="wrap_content" + android:background="@color/foregroundColor" + android:padding="@dimen/card_padding">