From 1087f29e5e415438c48fdfe5eaf8451c260e5f68 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 15 May 2026 23:42:12 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20tooltipText=20t?= =?UTF-8?q?o=20search=20back=20button=20in=20Discover=20Fragment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added `android:tooltipText="@string/back"` to the `search_back` ImageButton in `fragment_discover.xml` to match its `contentDescription`. This provides visual feedback for users on API 26+ when hovering with a mouse/stylus or long-pressing the button. Co-authored-by: dlukt <201112286+dlukt@users.noreply.github.com> --- mastodon/src/main/res/layout/fragment_discover.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/src/main/res/layout/fragment_discover.xml b/mastodon/src/main/res/layout/fragment_discover.xml index beaf4e7e0..36ed1322e 100644 --- a/mastodon/src/main/res/layout/fragment_discover.xml +++ b/mastodon/src/main/res/layout/fragment_discover.xml @@ -23,6 +23,7 @@ android:layout_width="56dp" android:layout_height="56dp" android:contentDescription="@string/back" + android:tooltipText="@string/back" android:background="?android:actionBarItemBackground" android:tint="?colorM3OnSurfaceVariant" android:src="@drawable/ic_fluent_search_24_regular"/>