From 07b3579c23356b2aa7bc8a88fcaeabb39bfcd354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 14 Sep 2023 07:55:16 +0200 Subject: [PATCH] Use circle ripple for swap units button --- app/src/main/res/drawable/ripple_circle_background.xml | 8 ++++++++ app/src/main/res/layout/view_converter.xml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ripple_circle_background.xml diff --git a/app/src/main/res/drawable/ripple_circle_background.xml b/app/src/main/res/drawable/ripple_circle_background.xml new file mode 100644 index 0000000..081e2ac --- /dev/null +++ b/app/src/main/res/drawable/ripple_circle_background.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/app/src/main/res/layout/view_converter.xml b/app/src/main/res/layout/view_converter.xml index d152c99..cef625e 100644 --- a/app/src/main/res/layout/view_converter.xml +++ b/app/src/main/res/layout/view_converter.xml @@ -61,7 +61,7 @@ android:id="@+id/swap_button" android:layout_width="@dimen/unit_switch_button_size" android:layout_height="@dimen/unit_switch_button_size" - android:background="@drawable/ripple_all_corners" + android:background="@drawable/ripple_circle_background" android:layout_gravity="center" android:padding="@dimen/activity_margin" android:layout_weight="0.5"