diff options
author | cyBerta <cyberta@riseup.net> | 2023-08-07 01:55:36 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2023-08-07 01:55:36 +0200 |
commit | 93b7a453484535efb037e11e3cd457efe2b66dc8 (patch) | |
tree | 921a8acddcc271bc7ca139a62653888c2489545b /app | |
parent | f9faf01dc0f847e51faafbe9b4b5082719cbf3cb (diff) |
fix button sizes for tablet layouts
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/res/layout/activity_setup.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/values-sw600dp/dimens.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/values/dimens.xml | 1 |
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 |