From ba2db48d8e184e0aaecf4e28d5ea94c71ce24bea Mon Sep 17 00:00:00 2001 From: akwizgran Date: Wed, 14 Dec 2022 12:03:06 +0000 Subject: [PATCH] Center text, add margin at bottom to center layout. --- .../src/main/res/layout/fragment_mailbox_connecting.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/briar-android/src/main/res/layout/fragment_mailbox_connecting.xml b/briar-android/src/main/res/layout/fragment_mailbox_connecting.xml index f36b5c4f0..3f285764b 100644 --- a/briar-android/src/main/res/layout/fragment_mailbox_connecting.xml +++ b/briar-android/src/main/res/layout/fragment_mailbox_connecting.xml @@ -12,6 +12,7 @@ android:layout_height="wrap_content" android:layout_marginHorizontal="@dimen/margin_xlarge" android:layout_marginTop="@dimen/margin_xlarge" + android:gravity="center" android:text="@string/mailbox_setup_connecting" app:layout_constraintBottom_toTopOf="@+id/progressBar" app:layout_constraintEnd_toEndOf="parent" @@ -38,6 +39,8 @@ android:layout_height="wrap_content" android:layout_marginHorizontal="@dimen/margin_xlarge" android:layout_marginTop="@dimen/margin_xlarge" + android:layout_marginBottom="@dimen/margin_xlarge" + android:gravity="center" android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent"