Use 0dp (match constraints) as width for text view
Previously, the text was using `wrap_content`, which could cause cropping or overflow in certain language configurations See https://github.com/FossifyOrg/Messages/issues/325
This commit is contained in:
parent
6b9376f79e
commit
6f8b9e5e8f
1 changed files with 1 additions and 6 deletions
|
|
@ -3,17 +3,12 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="@dimen/normal_margin">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/reply_disabled_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:padding="@dimen/activity_margin"
|
||||
android:text="@string/invalid_short_code"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue