From 35f92a6e9150f3cfa25b393f1d65c8486afb9abd Mon Sep 17 00:00:00 2001 From: sk Date: Wed, 21 Dec 2022 16:12:03 +0100 Subject: [PATCH] fix icons not showing in RTL layout --- mastodon/src/main/res/layout/display_item_header.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mastodon/src/main/res/layout/display_item_header.xml b/mastodon/src/main/res/layout/display_item_header.xml index da788deb6..6e3d8ce82 100644 --- a/mastodon/src/main/res/layout/display_item_header.xml +++ b/mastodon/src/main/res/layout/display_item_header.xml @@ -14,7 +14,7 @@ android:layout_alignParentTop="true" android:layout_alignParentEnd="true" android:layout_marginTop="-6dp" - android:layout_marginRight="-8dp" + android:layout_marginEnd="-8dp" android:background="?android:selectableItemBackgroundBorderless" android:contentDescription="@string/more_options" android:scaleType="center" @@ -26,8 +26,8 @@ android:layout_width="36dp" android:layout_height="36dp" android:layout_marginTop="-6dp" - android:layout_marginRight="6dp" - android:layout_toLeftOf="@id/more" + android:layout_marginEnd="6dp" + android:layout_toStartOf="@id/more" android:visibility="gone" android:background="?android:selectableItemBackgroundBorderless" android:contentDescription="@string/sk_delete_notification" @@ -40,8 +40,8 @@ android:layout_width="36dp" android:layout_height="36dp" android:layout_marginTop="-6dp" - android:layout_marginRight="6dp" - android:layout_toLeftOf="@id/delete_notification" + android:layout_marginEnd="6dp" + android:layout_toStartOf="@id/delete_notification" android:background="?android:selectableItemBackgroundBorderless" android:scaleType="center" android:src="@drawable/ic_visibility"