diff options
author | cyBerta <cyberta@riseup.net> | 2022-12-23 16:18:19 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-12-23 16:18:19 +0100 |
commit | 588578ece12fbaa4329266addef051165afeaa03 (patch) | |
tree | 0aacd50aaa178e7f6ffd8b04218324df940d0ebc /app/src/main | |
parent | 9f25a1ee20aa07e4af9635bcf3f726f74091e97a (diff) |
adopt on/off button sizes in tablet layouts
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/res/layout-port/f_eip.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout-sw600dp-port/f_eip.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge-port/f_eip.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/donation_reminder_dialog.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values-sw600dp/dimens.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/values-w820dp/dimens.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/values/dimens.xml | 3 |
7 files changed, 8 insertions, 5 deletions
diff --git a/app/src/main/res/layout-port/f_eip.xml b/app/src/main/res/layout-port/f_eip.xml index fff51212..e14c7a10 100644 --- a/app/src/main/res/layout-port/f_eip.xml +++ b/app/src/main/res/layout-port/f_eip.xml @@ -118,7 +118,7 @@ android:id="@+id/main_button" android:layout_width="0dp" android:layout_height="0dp" - android:layout_margin="@dimen/stdpadding" + android:layout_margin="@dimen/mainbutton_padding" app:layout_constraintTop_toBottomOf="@+id/guideline_horizontal_bottom" app:layout_constraintBottom_toTopOf="@id/gateway_location_button" app:layout_constraintDimensionRatio="1:1" diff --git a/app/src/main/res/layout-sw600dp-port/f_eip.xml b/app/src/main/res/layout-sw600dp-port/f_eip.xml index 2d6083a0..88e51652 100644 --- a/app/src/main/res/layout-sw600dp-port/f_eip.xml +++ b/app/src/main/res/layout-sw600dp-port/f_eip.xml @@ -118,7 +118,7 @@ android:id="@+id/main_button" android:layout_width="0dp" android:layout_height="0dp" - android:layout_margin="@dimen/stdpadding" + android:layout_margin="@dimen/mainbutton_padding" app:layout_constraintTop_toBottomOf="@+id/guideline_horizontal_bottom" app:layout_constraintBottom_toTopOf="@id/gateway_location_button" app:layout_constraintDimensionRatio="1:1" diff --git a/app/src/main/res/layout-xlarge-port/f_eip.xml b/app/src/main/res/layout-xlarge-port/f_eip.xml index 3ced08e3..590cf1a4 100644 --- a/app/src/main/res/layout-xlarge-port/f_eip.xml +++ b/app/src/main/res/layout-xlarge-port/f_eip.xml @@ -124,7 +124,7 @@ android:id="@+id/main_button" android:layout_width="0dp" android:layout_height="0dp" - android:layout_margin="@dimen/stdpadding" + android:layout_margin="@dimen/mainbutton_padding" app:layout_constraintTop_toBottomOf="@id/guideline_horizontal_bottom" app:layout_constraintBottom_toTopOf="@+id/guideline_horizontal_button_top" app:layout_constraintEnd_toStartOf="@+id/guideline_vertical_right" diff --git a/app/src/main/res/layout/donation_reminder_dialog.xml b/app/src/main/res/layout/donation_reminder_dialog.xml index 17eaf009..5c048f2f 100644 --- a/app/src/main/res/layout/donation_reminder_dialog.xml +++ b/app/src/main/res/layout/donation_reminder_dialog.xml @@ -57,7 +57,7 @@ android:id="@+id/btnLater" android:layout_width="200dp" android:layout_height="38dp" - android:layout_marginBottom="@dimen/mainbutton_padding" + android:layout_marginBottom="20dp" android:layout_marginLeft="@dimen/add_button_margin" android:layout_marginRight="@dimen/add_button_margin" android:layout_marginTop="@dimen/standard_margin" diff --git a/app/src/main/res/values-sw600dp/dimens.xml b/app/src/main/res/values-sw600dp/dimens.xml index a046dac6..378f9eb8 100644 --- a/app/src/main/res/values-sw600dp/dimens.xml +++ b/app/src/main/res/values-sw600dp/dimens.xml @@ -14,5 +14,6 @@ <!-- landscape dimens --> <dimen name="footer_text_padding">20dp</dimen> <dimen name="splash_text_top_padding">140dp</dimen> + <dimen name="mainbutton_padding">32dp</dimen> </resources>
\ No newline at end of file diff --git a/app/src/main/res/values-w820dp/dimens.xml b/app/src/main/res/values-w820dp/dimens.xml index b38b10a6..67d15bac 100644 --- a/app/src/main/res/values-w820dp/dimens.xml +++ b/app/src/main/res/values-w820dp/dimens.xml @@ -11,5 +11,6 @@ <!-- landscape dimens --> <dimen name="footer_text_padding">12dp</dimen> <dimen name="splash_text_top_padding">90dp</dimen> + <dimen name="mainbutton_padding">32dp</dimen> </resources> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 9ef6c3e0..7205f7d0 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -8,7 +8,6 @@ <dimen name="stdpadding">8dp</dimen> <dimen name="compact_padding">3dp</dimen> <dimen name="standard_margin">8dp</dimen> - <dimen name="mainbutton_padding">20dp</dimen> <bool name="logSildersAlwaysVisible">false</bool> <!-- landscape layout dimens --> <dimen name="footer_text_padding">12dp</dimen> @@ -46,4 +45,6 @@ <dimen name="toast_bottom_padding">20dp</dimen> <dimen name="button_bevel">3dp</dimen> <dimen name="button_radius">16dp</dimen> + <dimen name="mainbutton_padding">8dp</dimen> + </resources>
\ No newline at end of file |