diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-17 06:06:35 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-17 06:06:35 -0500 |
commit | 85fc5e7ebfbde91aaaff94e7ba89ca15c3c2a81c (patch) | |
tree | 00c7349b2f313fae50ae74ba75a5db9dcc7af498 /app/src/main/res | |
parent | 416d3adda740337432255f7a8425be7da4c84a74 (diff) |
ConfigListFragment: Restore the non-FAB add menu
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/menu/config_list.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/menu/config_list.xml b/app/src/main/res/menu/config_list.xml new file mode 100644 index 00000000..ef1651f6 --- /dev/null +++ b/app/src/main/res/menu/config_list.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/menu_action_add" + android:alphabeticShortcut="n" + android:icon="@drawable/ic_action_add" + android:showAsAction="always" + android:title="@string/add" /> +</menu> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4c781c21..9397dcf3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -4,6 +4,7 @@ <item quantity="one">%d configuration selected</item> <item quantity="other">%d configurations selected</item> </plurals> + <string name="add">Add</string> <string name="app_name">WireGuard</string> <string name="config_name">Configuration name</string> <string name="delete">Delete</string> |