summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-11-01 00:16:22 +0100
committercyBerta <cyberta@riseup.net>2023-11-01 00:16:22 +0100
commit0604b8d14d2d8948b334d5677b259b841ea9aaa3 (patch)
tree7015d918a60a5e42ba6bea510dcc3f8fac827a65 /app/src/main
parentbf7168d1faf1b8c3841cbb006600751cdd521f04 (diff)
fix setup next/cancel button text positioning for tablet layouts
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/activity_setup.xml4
-rw-r--r--app/src/main/res/values-sw600dp/dimens.xml2
-rw-r--r--app/src/main/res/values/dimens.xml1
3 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/res/layout/activity_setup.xml b/app/src/main/res/layout/activity_setup.xml
index 7ba0125f..a63592f4 100644
--- a/app/src/main/res/layout/activity_setup.xml
+++ b/app/src/main/res/layout/activity_setup.xml
@@ -170,7 +170,7 @@
android:text="@string/next"
tools:visibility="visible"
android:gravity="top|center_horizontal"
- android:paddingTop="5dp"
+ android:paddingTop="@dimen/setup_button_top_padding"
/>
<androidx.appcompat.widget.AppCompatButton
@@ -181,7 +181,7 @@
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:gravity="top|center_horizontal"
- android:paddingTop="5dp"
+ android:paddingTop="@dimen/setup_button_top_padding"
android:text="@string/cancel"
android:visibility="gone"
tools:visibility="visible"
diff --git a/app/src/main/res/values-sw600dp/dimens.xml b/app/src/main/res/values-sw600dp/dimens.xml
index ad0fae2c..57718346 100644
--- a/app/src/main/res/values-sw600dp/dimens.xml
+++ b/app/src/main/res/values-sw600dp/dimens.xml
@@ -16,4 +16,6 @@
<dimen name="donation_reminder_padding">24dp</dimen>
<dimen name="setup_bottom_bar">75dp</dimen>
+ <dimen name="setup_button_top_padding">10dp</dimen>
+
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index d80ed4a6..e9e7b78a 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -48,4 +48,5 @@
<dimen name="donation_reminder_padding">8dp</dimen>
<dimen name="setup_bottom_bar">50dp</dimen>
+ <dimen name="setup_button_top_padding">5dp</dimen>
</resources> \ No newline at end of file