From 47104bf2cf88e28b70fff63d9307ce637afb078e Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Fri, 10 May 2019 20:08:36 +0200 Subject: [PATCH] fix item_account layout for rtl locales (#1252) --- app/src/main/res/layout/item_account.xml | 68 ++++++++++++------------ 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/app/src/main/res/layout/item_account.xml b/app/src/main/res/layout/item_account.xml index e19ebab31..628f5d0b7 100644 --- a/app/src/main/res/layout/item_account.xml +++ b/app/src/main/res/layout/item_account.xml @@ -1,23 +1,23 @@ + android:paddingStart="16dp" + android:paddingEnd="16dp"> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + tools:src="@drawable/avatar_default" /> - - + android:ellipsize="end" + android:maxLines="1" + app:layout_constraintVertical_chainStyle="packed" + android:textColor="?android:textColorPrimary" + android:textSize="?attr/status_text_large" + android:textStyle="normal|bold" + app:layout_constraintBottom_toTopOf="@id/account_username" + app:layout_constraintStart_toEndOf="@id/account_avatar" + app:layout_constraintTop_toTopOf="parent" + tools:text="Display name" /> - - - - - + \ No newline at end of file