From e7e571a301dbb5eb2a590a7e20f75df7c72d410c Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 29 Apr 2018 01:47:33 +0530 Subject: [PATCH] wg: Migrate menu visibility to AppCompat Signed-off-by: Harsh Shandilya --- app/src/main/res/menu/config_editor.xml | 7 ++++--- app/src/main/res/menu/main_activity.xml | 7 ++++--- app/src/main/res/menu/tunnel_detail.xml | 7 ++++--- app/src/main/res/menu/tunnel_list_action_mode.xml | 7 ++++--- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/menu/config_editor.xml b/app/src/main/res/menu/config_editor.xml index 44e719c7..bb58f6c9 100644 --- a/app/src/main/res/menu/config_editor.xml +++ b/app/src/main/res/menu/config_editor.xml @@ -1,9 +1,10 @@ - + + android:title="@string/save" + app:showAsAction="always" /> diff --git a/app/src/main/res/menu/main_activity.xml b/app/src/main/res/menu/main_activity.xml index 462558ec..54211ec4 100644 --- a/app/src/main/res/menu/main_activity.xml +++ b/app/src/main/res/menu/main_activity.xml @@ -1,9 +1,10 @@ - + + android:title="@string/settings" + app:showAsAction="never" /> diff --git a/app/src/main/res/menu/tunnel_detail.xml b/app/src/main/res/menu/tunnel_detail.xml index c00c1603..8e2c2eb9 100644 --- a/app/src/main/res/menu/tunnel_detail.xml +++ b/app/src/main/res/menu/tunnel_detail.xml @@ -1,9 +1,10 @@ - + + android:title="@string/edit" + app:showAsAction="always" /> 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 7896d522..6d175573 100644 --- a/app/src/main/res/menu/tunnel_list_action_mode.xml +++ b/app/src/main/res/menu/tunnel_list_action_mode.xml @@ -1,9 +1,10 @@ - + + android:title="@string/delete" + app:showAsAction="always" />