summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-08-07 01:55:36 +0200
committercyBerta <cyberta@riseup.net>2023-08-07 01:55:36 +0200
commit93b7a453484535efb037e11e3cd457efe2b66dc8 (patch)
tree921a8acddcc271bc7ca139a62653888c2489545b /app/src/main
parentf9faf01dc0f847e51faafbe9b4b5082719cbf3cb (diff)
fix button sizes for tablet layouts
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/activity_setup.xml5
-rw-r--r--app/src/main/res/values-sw600dp/dimens.xml1
-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 d321f751..5fff1154 100644
--- a/app/src/main/res/layout/activity_setup.xml
+++ b/app/src/main/res/layout/activity_setup.xml
@@ -27,7 +27,7 @@
<RelativeLayout
android:layout_width="match_parent"
- android:layout_height="50dp"
+ android:layout_height="@dimen/setup_bottom_bar"
android:layout_alignParentBottom="true"
android:padding="@dimen/stdpadding"
android:background="@color/colorPrimary_transparent"
@@ -137,6 +137,7 @@
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
+ android:layout_centerVertical="true"
android:text="@string/next"
tools:visibility="visible"
@@ -148,7 +149,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
- android:layout_alignParentBottom="true"
+ android:layout_centerVertical="true"
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 db6e94ea..fb8e7ded 100644
--- a/app/src/main/res/values-sw600dp/dimens.xml
+++ b/app/src/main/res/values-sw600dp/dimens.xml
@@ -15,4 +15,5 @@
<dimen name="mainbutton_padding">32dp</dimen>
<dimen name="donation_reminder_padding">24dp</dimen>
+ <dimen name="setup_bottom_bar">75dp</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 991cd625..b17683ae 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -46,4 +46,5 @@
<dimen name="mainbutton_padding">8dp</dimen>
<dimen name="donation_reminder_padding">8dp</dimen>
+ <dimen name="setup_bottom_bar">50dp</dimen>
</resources> \ No newline at end of file