diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-06-28 20:05:33 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-30 21:07:24 +0200 |
commit | 0e3e3ae37b093c8de04be2a141e7b49d708f5336 (patch) | |
tree | 802e241068af8b81b3ca7ad230590312ebe3566f /app/src/main/res/menu | |
parent | b41d473f645ffa9b4f349c7deec7e45693056a29 (diff) |
android: Add select all button to action mode
Thanks to Jason for suggesting the not-clinically-insane
method to go about this.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r-- | app/src/main/res/menu/tunnel_list_action_mode.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/menu/tunnel_list_action_mode.xml b/app/src/main/res/menu/tunnel_list_action_mode.xml index 6b03cd19..22f61943 100644 --- a/app/src/main/res/menu/tunnel_list_action_mode.xml +++ b/app/src/main/res/menu/tunnel_list_action_mode.xml @@ -2,6 +2,12 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item + android:id="@+id/menu_action_select_all" + android:alphabeticShortcut="s" + android:icon="@drawable/ic_action_select_all" + android:title="@string/select_all" + app:showAsAction="always" /> + <item android:id="@+id/menu_action_delete" android:alphabeticShortcut="d" android:icon="@drawable/ic_action_delete" |