From 216059b6597e597f7a701932af6e5d1892cf8829 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Mon, 14 Mar 2022 17:21:52 -0400 Subject: [PATCH] Fix layout for long text in SMS verification buttons. Fixes #12037 --- app/src/main/res/layout/fragment_registration_enter_code.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/fragment_registration_enter_code.xml b/app/src/main/res/layout/fragment_registration_enter_code.xml index 53b36db02c..e7910349e8 100644 --- a/app/src/main/res/layout/fragment_registration_enter_code.xml +++ b/app/src/main/res/layout/fragment_registration_enter_code.xml @@ -24,6 +24,7 @@ style="@style/Button.Borderless.Registration" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:maxWidth="150dp" android:layout_marginTop="16dp" android:layout_toEndOf="@id/call_me_count_down" android:text="@string/RegistrationActivity_wrong_number" @@ -70,6 +71,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/code" + android:maxWidth="150dp" app:layout_constraintEnd_toStartOf="@+id/wrong_number" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent"