unify Donate and Feature Locked dialogs

This commit is contained in:
tibbi 2022-11-13 20:44:49 +01:00
parent f2a870845b
commit f0369c00f3
2 changed files with 11 additions and 5 deletions

View file

@ -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" />

View file

@ -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">
<ImageView
android:id="@+id/feature_locked_image"
android:layout_width="@dimen/min_row_height"
android:layout_height="@dimen/min_row_height"
android:layout_width="@dimen/fab_size"
android:layout_height="@dimen/fab_size"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/bigger_margin"
android:src="@drawable/ic_lock_vector" />
<com.simplemobiletools.commons.views.MyTextView
@ -19,7 +20,11 @@
android:layout_below="@+id/feature_locked_image"
android:gravity="center"
android:lineSpacingExtra="1sp"
android:paddingStart="@dimen/bigger_margin"
android:paddingTop="@dimen/normal_margin"
android:paddingEnd="@dimen/bigger_margin"
android:paddingBottom="@dimen/normal_margin"
android:text="@string/feature_locked"
android:textColorHighlight="@color/disabled_text_color_highlight"
android:textSize="@dimen/bigger_text_size" />