Skip to content

Commit 2d511a3

Browse files
committed
Add hint for hold to copy in Activity Launcher
1 parent 12a46c6 commit 2d511a3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

app/src/main/res/layout/bottom_sheet_activity_launcher.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,21 @@
3535
android:layout_width="match_parent"
3636
android:layout_height="wrap_content"
3737
android:layout_marginHorizontal="12dp"
38-
android:layout_marginBottom="8dp"
3938
android:background="@drawable/rounded_bg"
4039
android:backgroundTint="@color/surface"
4140
app:iconifiedByDefault="false"
4241
app:queryHint="@string/search_hint" />
4342

43+
<TextView
44+
android:layout_width="wrap_content"
45+
android:layout_height="wrap_content"
46+
android:layout_marginStart="16dp"
47+
android:layout_marginTop="4dp"
48+
android:layout_marginBottom="8dp"
49+
android:text="@string/activity_launcher_hint"
50+
android:textColor="@color/on_surface_secondary"
51+
android:textSize="12sp" />
52+
4453
<!-- Filter Chips -->
4554
<LinearLayout
4655
android:layout_width="match_parent"

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@
278278
<string name="tools_activity_count">%d activities</string>
279279
<string name="tools_activity_launch_failed">Failed to launch activity</string>
280280
<string name="activity_launcher_subtitle">Tap app to expand, tap activity to launch</string>
281+
<string name="activity_launcher_hint">💡 Hold activity to copy path</string>
281282
<string name="activity_launcher_count">%1$d apps • %2$d activities</string>
282283
<string name="search_hint">Search apps or activities…</string>
283284
<string name="search_apps_hint">Search apps…</string>

0 commit comments

Comments
 (0)