ProfileList: Remove "Add" menu action, to be replaced by a FAB
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
5d5cdf54fa
commit
6c71b88abd
@ -51,10 +51,6 @@ public class ProfileListActivity extends Activity {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onMenuNewAction(MenuItem item) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onMenuSettings(MenuItem item) {
|
public void onMenuSettings(MenuItem item) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<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
|
<item
|
||||||
android:alphabeticShortcut="s"
|
android:alphabeticShortcut="s"
|
||||||
android:icon="@drawable/ic_settings"
|
android:icon="@drawable/ic_settings"
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">WireGuard</string>
|
<string name="app_name">WireGuard</string>
|
||||||
<string name="connected">Connected</string>
|
<string name="connected">Connected</string>
|
||||||
<string name="create">Add</string>
|
|
||||||
<string name="disconnected">Disconnected</string>
|
<string name="disconnected">Disconnected</string>
|
||||||
<string name="settings">Settings</string>
|
<string name="settings">Settings</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user