From f0369c00f3da34872cf54925e50650b07150fdad Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 13 Nov 2022 20:44:49 +0100 Subject: [PATCH] unify Donate and Feature Locked dialogs --- commons/src/main/res/layout/dialog_donate.xml | 5 +++-- commons/src/main/res/layout/dialog_feature_locked.xml | 11 ++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/commons/src/main/res/layout/dialog_donate.xml b/commons/src/main/res/layout/dialog_donate.xml index f942f9efa..d764101a7 100644 --- a/commons/src/main/res/layout/dialog_donate.xml +++ b/commons/src/main/res/layout/dialog_donate.xml @@ -19,10 +19,11 @@ android:layout_height="wrap_content" android:layout_below="@+id/dialog_donate_image" android:gravity="center" + android:lineSpacingExtra="1sp" android:paddingStart="@dimen/bigger_margin" - android:paddingTop="@dimen/activity_margin" + android:paddingTop="@dimen/normal_margin" android:paddingEnd="@dimen/bigger_margin" - android:paddingBottom="@dimen/activity_margin" + android:paddingBottom="@dimen/normal_margin" android:text="@string/donate_short" android:textColorHighlight="@color/disabled_text_color_highlight" android:textSize="@dimen/bigger_text_size" /> diff --git a/commons/src/main/res/layout/dialog_feature_locked.xml b/commons/src/main/res/layout/dialog_feature_locked.xml index f0c97eb8f..bebc08a8f 100644 --- a/commons/src/main/res/layout/dialog_feature_locked.xml +++ b/commons/src/main/res/layout/dialog_feature_locked.xml @@ -3,13 +3,14 @@ android:id="@+id/feature_locked_holder" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="@dimen/activity_margin"> + android:gravity="center_horizontal">