From 31b4c17d30065e4181f9bbdb06d5977ccf6525d6 Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Mon, 23 Jan 2023 13:25:21 +0600 Subject: [PATCH] 1009-Fix_outlined_button_visibilty_issue issue: https://gitlab.e.foundation/e/os/backlog/-/issues/1009 Fix outlined button style --- app/src/main/res/layout/activity_permissions.xml | 3 +-- app/src/main/res/layout/activity_wifi_permissions.xml | 2 +- app/src/main/res/layout/intro_battery_optimizations.xml | 3 +-- app/src/main/res/layout/intro_open_source.xml | 3 +-- app/src/main/res/values/styles.xml | 5 +++++ 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/activity_permissions.xml b/app/src/main/res/layout/activity_permissions.xml index be4e9bd41..09ca34e95 100644 --- a/app/src/main/res/layout/activity_permissions.xml +++ b/app/src/main/res/layout/activity_permissions.xml @@ -379,8 +379,7 @@ android:layout_marginTop="8dp" app:layout_constraintTop_toBottomOf="@id/appSettingsHint" app:layout_constraintStart_toStartOf="@id/start" - style="@style/Widget.MaterialComponents.Button.OutlinedButton" - android:textColor="@color/primaryTextColor" + style="@style/outlined_button_style" android:text="@string/permissions_app_settings" /> diff --git a/app/src/main/res/layout/activity_wifi_permissions.xml b/app/src/main/res/layout/activity_wifi_permissions.xml index 5a95a30c0..f73d33311 100644 --- a/app/src/main/res/layout/activity_wifi_permissions.xml +++ b/app/src/main/res/layout/activity_wifi_permissions.xml @@ -163,7 +163,7 @@ android:id="@+id/settingsBtn" android:layout_width="wrap_content" android:layout_height="wrap_content" - style="@style/Widget.MaterialComponents.Button.OutlinedButton" + style="@style/outlined_button_style" app:layout_constraintTop_toBottomOf="@id/settingsHint" app:layout_constraintStart_toStartOf="parent" android:layout_marginTop="8dp" diff --git a/app/src/main/res/layout/intro_battery_optimizations.xml b/app/src/main/res/layout/intro_battery_optimizations.xml index 407a85d4f..4ccbe182e 100644 --- a/app/src/main/res/layout/intro_battery_optimizations.xml +++ b/app/src/main/res/layout/intro_battery_optimizations.xml @@ -127,8 +127,7 @@