summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
author Shubham Basu <basushubham@google.com> 2021-07-23 16:59:34 -0700
committer Shubham Basu <basushubham@google.com> 2021-07-26 23:28:39 +0000
commiteee48f37f4d6b27a82efe3be8aeeb0743dab3e76 (patch)
treee230abe936595f2cc71f873cd3e461e04d85978d /res/layout
parent224aa7a48e18e5d26c9ae19d69ec514bbc34f415 (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.xml3
-rw-r--r--res/layout/fragment_save.xml2
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"