diff options
author | Arne Schwabe <arne@rfc2549.org> | 2019-08-02 12:50:57 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2019-08-05 16:01:34 +0200 |
commit | 32b080261845c7508581f9c452d48ffd2401c450 (patch) | |
tree | 76d194fedd0ec9e9250a96b4157aa32b3eead627 /main/src/ui/res/menu | |
parent | f72ab87b31044eb5df3a8b6ed802208444d226e3 (diff) |
Add skeleton build variant
Diffstat (limited to 'main/src/ui/res/menu')
-rw-r--r-- | main/src/ui/res/menu/allowed_apps.xml | 14 | ||||
-rw-r--r-- | main/src/ui/res/menu/configmenu.xml | 16 | ||||
-rw-r--r-- | main/src/ui/res/menu/connections.xml | 15 | ||||
-rw-r--r-- | main/src/ui/res/menu/import_menu.xml | 23 | ||||
-rw-r--r-- | main/src/ui/res/menu/logmenu.xml | 42 | ||||
-rw-r--r-- | main/src/ui/res/menu/main_menu.xml | 14 | ||||
-rw-r--r-- | main/src/ui/res/menu/vpnpreferences_menu.xml | 22 |
7 files changed, 146 insertions, 0 deletions
diff --git a/main/src/ui/res/menu/allowed_apps.xml b/main/src/ui/res/menu/allowed_apps.xml new file mode 100644 index 00000000..d4f2a02a --- /dev/null +++ b/main/src/ui/res/menu/allowed_apps.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2015 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/app_search_widget" + android:actionViewClass="android.widget.SearchView" + android:icon="@drawable/ic_search_white_24dp" + android:showAsAction="always" + android:title="@string/Search"/> +</menu>
\ No newline at end of file diff --git a/main/src/ui/res/menu/configmenu.xml b/main/src/ui/res/menu/configmenu.xml new file mode 100644 index 00000000..96515c24 --- /dev/null +++ b/main/src/ui/res/menu/configmenu.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <item + android:id="@+id/sendConfig" + android:icon="@drawable/ic_menu_share" + android:showAsAction="ifRoom" + android:title="@string/send_config" + android:titleCondensed="@string/send"/> + +</menu>
\ No newline at end of file diff --git a/main/src/ui/res/menu/connections.xml b/main/src/ui/res/menu/connections.xml new file mode 100644 index 00000000..64ca4a2c --- /dev/null +++ b/main/src/ui/res/menu/connections.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:icon="@drawable/ic_menu_add" + android:title="@string/add_remote" + android:id="@+id/add_new_remote" + android:titleCondensed="@string/add" + android:showAsAction="always" + /> +</menu>
\ No newline at end of file diff --git a/main/src/ui/res/menu/import_menu.xml b/main/src/ui/res/menu/import_menu.xml new file mode 100644 index 00000000..52c96516 --- /dev/null +++ b/main/src/ui/res/menu/import_menu.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + <item + android:id="@+id/cancel" + android:icon="@drawable/ic_menu_close_clear_cancel" + android:showAsAction="ifRoom" + android:title="@android:string/cancel" + android:titleCondensed="@string/cancel"/> + + <item + android:id="@+id/ok" + android:icon="@drawable/ic_menu_save" + android:showAsAction="ifRoom" + android:title="@string/add_profile" + android:titleCondensed="@string/import_vpn"/> + + +</menu>
\ No newline at end of file diff --git a/main/src/ui/res/menu/logmenu.xml b/main/src/ui/res/menu/logmenu.xml new file mode 100644 index 00000000..cb9a86f0 --- /dev/null +++ b/main/src/ui/res/menu/logmenu.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + + + <item + android:id="@+id/toggle_time" + android:alphabeticShortcut="t" + android:icon="@drawable/ic_menu_view" + android:showAsAction="ifRoom" + android:title="@string/logview_options" /> + + <item + android:id="@+id/clearlog" + android:icon="@drawable/ic_menu_delete" + android:showAsAction="ifRoom" + android:title="@string/clear_log" + android:titleCondensed="@string/clear"/> + <item + android:id="@+id/send" + android:icon="@drawable/ic_menu_share" + android:showAsAction="ifRoom" + android:title="@string/send_logfile" + android:titleCondensed="@string/send"/> + + <item + android:id="@+id/cancel" + android:icon="@drawable/ic_menu_close_clear_cancel" + android:showAsAction="ifRoom" + android:title="@string/cancel_connection_long" + android:titleCondensed="@string/cancel_connection"/> + <item + android:id="@+id/edit_vpn" + android:alphabeticShortcut="e" + android:icon="@drawable/ic_menu_edit" + android:showAsAction="ifRoom" + android:title="@string/edit_vpn"/> +</menu>
\ No newline at end of file diff --git a/main/src/ui/res/menu/main_menu.xml b/main/src/ui/res/menu/main_menu.xml new file mode 100644 index 00000000..f5e0bf08 --- /dev/null +++ b/main/src/ui/res/menu/main_menu.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/show_log" + android:icon="@drawable/ic_receipt" + android:showAsAction="ifRoom" + android:title="@string/show_log_window" + android:titleCondensed="@string/show_log"/> +</menu>
\ No newline at end of file diff --git a/main/src/ui/res/menu/vpnpreferences_menu.xml b/main/src/ui/res/menu/vpnpreferences_menu.xml new file mode 100644 index 00000000..e31d6ddf --- /dev/null +++ b/main/src/ui/res/menu/vpnpreferences_menu.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2012-2016 Arne Schwabe + ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + --> + +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + <item + android:id="@+id/remove_vpn" + android:alphabeticShortcut="d" + android:icon="@drawable/ic_menu_delete" + android:showAsAction="ifRoom" + android:title="@string/remove_vpn"/> + + <item + android:id="@+id/duplicate_vpn" + android:alphabeticShortcut="c" + android:icon="@drawable/ic_menu_copy" + android:showAsAction="ifRoom" + android:title="Duplicate VPN" /> + +</menu>
\ No newline at end of file |