diff options
author | 2021-07-23 16:59:34 -0700 | |
---|---|---|
committer | 2021-07-26 23:28:39 +0000 | |
commit | eee48f37f4d6b27a82efe3be8aeeb0743dab3e76 (patch) | |
tree | e230abe936595f2cc71f873cd3e461e04d85978d /res/layout | |
parent | 224aa7a48e18e5d26c9ae19d69ec514bbc34f415 (diff) |
adding corner radius for buttons
Bug: 191423382
Test: manual
Screenshots:
Android S: https://screenshot.googleplex.com/BVLpN7AWYfFpEtj.png
Android R: https://screenshot.googleplex.com/jSj477gMeV9ELgu.png
Change-Id: I4c890bb7bc84b1c32a64d5c300b294735b358199
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/fragment_pick.xml | 3 | ||||
-rw-r--r-- | res/layout/fragment_save.xml | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/res/layout/fragment_pick.xml b/res/layout/fragment_pick.xml index 88c28bdbc..c3446f494 100644 --- a/res/layout/fragment_pick.xml +++ b/res/layout/fragment_pick.xml @@ -14,6 +14,7 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" @@ -25,6 +26,7 @@ <com.google.android.material.button.MaterialButton android:id="@android:id/button2" style="?attr/materialButtonOutlinedStyle" + app:cornerRadius="@dimen/button_corner_radius" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="4dp" @@ -38,6 +40,7 @@ <com.google.android.material.button.MaterialButton android:id="@android:id/button1" style="?attr/materialButtonStyle" + app:cornerRadius="@dimen/button_corner_radius" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="4dp" diff --git a/res/layout/fragment_save.xml b/res/layout/fragment_save.xml index b3f3c0b4c..0f46b2a9c 100644 --- a/res/layout/fragment_save.xml +++ b/res/layout/fragment_save.xml @@ -15,6 +15,7 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingStart="@dimen/list_item_padding" @@ -53,6 +54,7 @@ <com.google.android.material.button.MaterialButton android:id="@android:id/button1" style="@style/Widget.MaterialComponents.Button.UnelevatedButton" + app:cornerRadius="@dimen/button_corner_radius" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="4dp" |