From bf996feccff7dfb43ccf8f335a177eac292db23b Mon Sep 17 00:00:00 2001 From: Grishka Date: Mon, 26 Jun 2023 16:04:24 +0300 Subject: [PATCH] Add fading edge for alt text closes #595 --- mastodon/src/main/res/layout/overlay_image_alt_text.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mastodon/src/main/res/layout/overlay_image_alt_text.xml b/mastodon/src/main/res/layout/overlay_image_alt_text.xml index d15d28060..c0bba80e9 100644 --- a/mastodon/src/main/res/layout/overlay_image_alt_text.xml +++ b/mastodon/src/main/res/layout/overlay_image_alt_text.xml @@ -38,7 +38,9 @@ android:id="@+id/alt_text_scroller" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginEnd="40dp"> + android:layout_marginEnd="40dp" + android:requiresFadingEdge="vertical" + android:fadingEdgeLength="16dp">