From 75b8a8928150aed0bd0a13c56d56d4db0198602a Mon Sep 17 00:00:00 2001 From: Sayantan Roychowdhury Date: Tue, 4 Apr 2023 15:42:47 +0530 Subject: [PATCH 1/4] add stroke to next button to act as padding --- app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml b/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml index 0e0e0ad38c..2edf5d38ec 100644 --- a/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml +++ b/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml @@ -19,6 +19,9 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + -- GitLab From ae8725fb64ce3915f73e2d06d3d2779fd890810e Mon Sep 17 00:00:00 2001 From: Sayantan Roychowdhury Date: Tue, 4 Apr 2023 15:43:32 +0530 Subject: [PATCH 2/4] change shape to ripple for button pressed effect. --- .../res/drawable/btn_bg_rounded_corner.xml | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml b/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml index 2edf5d38ec..3a12e2ae6d 100644 --- a/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml +++ b/app/ui/legacy/src/main/res/drawable/btn_bg_rounded_corner.xml @@ -15,14 +15,28 @@ ~ along with this program. If not, see . --> - + - - - + + + + + + + - + + + + + + + + + -- GitLab From 3440f8440ce5ef03d6916ff10bcce6be12eb28c5 Mon Sep 17 00:00:00 2001 From: Sayantan Roychowdhury Date: Tue, 4 Apr 2023 15:45:46 +0530 Subject: [PATCH 3/4] remove selectableItemBackground --- app/ui/legacy/src/main/res/layout/wizard_welcome.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/ui/legacy/src/main/res/layout/wizard_welcome.xml b/app/ui/legacy/src/main/res/layout/wizard_welcome.xml index 0f4ed4373b..4a2e911124 100644 --- a/app/ui/legacy/src/main/res/layout/wizard_welcome.xml +++ b/app/ui/legacy/src/main/res/layout/wizard_welcome.xml @@ -27,7 +27,6 @@ android:layout_height="match_parent" app:layout_constraintEnd_toEndOf="parent" android:textColor="@color/color_default_background" - android:foreground="?selectableItemBackground" android:background="@drawable/btn_bg_rounded_corner" android:backgroundTint="@color/color_default_accent" android:textSize="14sp" -- GitLab From 61d8b6b05166caffcb06f3764bd097e65042d645 Mon Sep 17 00:00:00 2001 From: Sayantan Roychowdhury Date: Tue, 4 Apr 2023 15:45:57 +0530 Subject: [PATCH 4/4] remove selectableItemBackground --- app/ui/legacy/src/main/res/layout/wizard_setup.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/ui/legacy/src/main/res/layout/wizard_setup.xml b/app/ui/legacy/src/main/res/layout/wizard_setup.xml index 1d0237069d..c15c50bfda 100644 --- a/app/ui/legacy/src/main/res/layout/wizard_setup.xml +++ b/app/ui/legacy/src/main/res/layout/wizard_setup.xml @@ -26,7 +26,6 @@ android:layout_width="wrap_content" android:layout_height="match_parent" app:layout_constraintEnd_toEndOf="parent" - android:foreground="?selectableItemBackground" android:background="@drawable/btn_bg_rounded_corner" android:backgroundTint="@color/btn_color_bg_state" android:textColor="@color/color_default_background" -- GitLab