From fb327ae35e31ce9fe96dfcf99eff84f42516a5aa Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Mon, 15 Apr 2024 18:21:49 +0200 Subject: [PATCH] Fixes from code review --- res/drawable-v24/ic_launcher_background.xml | 2 +- res/drawable/ic_kde_24dp.xml | 1 - res/layout/widget_remotecommandplugin.xml | 3 +++ res/values/colors.xml | 8 ++++++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 res/values/colors.xml diff --git a/res/drawable-v24/ic_launcher_background.xml b/res/drawable-v24/ic_launcher_background.xml index 46fa7f3f..a87d81c3 100644 --- a/res/drawable-v24/ic_launcher_background.xml +++ b/res/drawable-v24/ic_launcher_background.xml @@ -6,7 +6,7 @@ android:viewportHeight="108"> + android:fillColor="@color/launcher_background"/> - > diff --git a/res/layout/widget_remotecommandplugin.xml b/res/layout/widget_remotecommandplugin.xml index da5746b0..020d4b42 100644 --- a/res/layout/widget_remotecommandplugin.xml +++ b/res/layout/widget_remotecommandplugin.xml @@ -12,6 +12,7 @@ SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted android:theme="@style/KdeConnectTheme" android:layout_height="match_parent" android:layout_width="match_parent" + android:background="?colorSurface" tools:ignore="RtlSymmetry"> @@ -39,6 +41,7 @@ SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted android:text="@string/kde_connect" android:fadingEdge="horizontal" android:singleLine="true" + android:textColor="?attr/colorOnSecondary" android:textAppearance="?android:attr/textAppearanceMedium" /> diff --git a/res/values/colors.xml b/res/values/colors.xml new file mode 100644 index 00000000..ea510ba5 --- /dev/null +++ b/res/values/colors.xml @@ -0,0 +1,8 @@ + + + + #3daee9 + + + +