diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-01 02:06:17 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-01 02:06:17 -0500 |
commit | 6c71b88abd6dc6e380dcf45e4d6e2245cdd2aed5 (patch) | |
tree | a11094b4ab6d7b78e7eed4dc9b25f5a09ebe36a8 /app | |
parent | 5d5cdf54fa0157867e641b37e11d1b89ec26884b (diff) |
ProfileList: Remove "Add" menu action, to be replaced by a FAB
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/wireguard/android/ProfileListActivity.java | 4 | ||||
-rw-r--r-- | app/src/main/res/menu/profile_list.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/app/src/main/java/com/wireguard/android/ProfileListActivity.java b/app/src/main/java/com/wireguard/android/ProfileListActivity.java index 2b0946a9..6114cf1a 100644 --- a/app/src/main/java/com/wireguard/android/ProfileListActivity.java +++ b/app/src/main/java/com/wireguard/android/ProfileListActivity.java @@ -51,10 +51,6 @@ public class ProfileListActivity extends Activity { return true; } - public void onMenuNewAction(MenuItem item) { - - } - public void onMenuSettings(MenuItem item) { } diff --git a/app/src/main/res/menu/profile_list.xml b/app/src/main/res/menu/profile_list.xml index 38374560..96479d08 100644 --- a/app/src/main/res/menu/profile_list.xml +++ b/app/src/main/res/menu/profile_list.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item - android:alphabeticShortcut="n" - android:icon="@drawable/ic_action_add" - android:onClick="onMenuNewAction" - android:showAsAction="ifRoom" - android:title="@string/create" /> - <item android:alphabeticShortcut="s" android:icon="@drawable/ic_settings" android:onClick="onMenuSettings" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 435daa89..7b581b9a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -2,7 +2,6 @@ <resources> <string name="app_name">WireGuard</string> <string name="connected">Connected</string> - <string name="create">Add</string> <string name="disconnected">Disconnected</string> <string name="settings">Settings</string> </resources> |