Fix the profile image on the toolbar may get clamped in RTL layout in some Android versions.

The bug was [reported in the Beta forum by Xashyar](https://community.signalusers.org/t/beta-feedback-for-the-upcoming-android-5-26-release/38629/36).
This commit is contained in:
Fumiaki Yoshimatsu authored and Cody Henthorne committed 2022-02-02 16:50:58 -05:00
1 parent 39169784b0
commit cf0d54d04f
1 file changed
+2 -2
@@ -13,7 +13,8 @@
android:transitionName="avatar"
android:id="@+id/contact_photo_container"
android:layout_width="wrap_content"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:layout_marginEnd="10dp">
<org.thoughtcrime.securesms.components.AvatarImageView
android:id="@+id/contact_photo_image"
@@ -21,7 +22,6 @@
android:layout_height="36dp"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_marginEnd="10dp"
android:clickable="true"
android:contentDescription="@string/conversation_list_item_view__contact_photo_image"
android:cropToPadding="true"