summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/layout/fragment_pick.xml3
-rw-r--r--res/layout/fragment_save.xml2
-rw-r--r--res/values-v31/dimens.xml1
-rw-r--r--res/values/dimens.xml1
4 files changed, 7 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"
diff --git a/res/values-v31/dimens.xml b/res/values-v31/dimens.xml
index 15a781473..ac256ef9c 100644
--- a/res/values-v31/dimens.xml
+++ b/res/values-v31/dimens.xml
@@ -16,4 +16,5 @@
<resources>
<dimen name="action_bar_elevation">0dp</dimen>
<dimen name="action_bar_margin">0dp</dimen>
+ <dimen name="button_corner_radius">20dp</dimen>
</resources>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 3b326e136..13cd41d2c 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -54,6 +54,7 @@
<dimen name="briefcase_icon_margin">8dp</dimen>
<dimen name="briefcase_icon_size">14dp</dimen>
<dimen name="briefcase_icon_size_photo">24dp</dimen>
+ <dimen name="button_corner_radius">2dp</dimen>
<dimen name="drawer_edge_width">12dp</dimen>