2012-02-27 03:59:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2008 Esmertec AG.
|
|
|
|
* Copyright (C) 2008 The Android Open Source Project
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
2014-04-04 03:23:20 +00:00
|
|
|
<menu xmlns:yourapp="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
2012-02-27 03:59:10 +00:00
|
|
|
<item android:id="@+id/menu_start"
|
|
|
|
android:title="@string/menu_start"
|
2012-07-24 16:58:40 +00:00
|
|
|
android:icon="@drawable/ic_action_start"
|
2014-04-04 03:23:20 +00:00
|
|
|
yourapp:showAsAction="ifRoom"
|
2012-02-27 03:59:10 +00:00
|
|
|
/>
|
|
|
|
|
|
|
|
<item android:id="@+id/menu_settings"
|
|
|
|
android:title="@string/menu_settings"
|
2012-07-24 16:58:40 +00:00
|
|
|
android:icon="@drawable/ic_action_settings"
|
2014-04-04 03:23:20 +00:00
|
|
|
yourapp:showAsAction="always"
|
2012-02-27 03:59:10 +00:00
|
|
|
/>
|
|
|
|
|
2013-12-28 02:43:33 +00:00
|
|
|
<item
|
|
|
|
android:id="@+id/menu_verify_list"
|
2012-02-27 03:59:10 +00:00
|
|
|
android:title="@string/menu_verify"
|
2012-07-24 16:58:40 +00:00
|
|
|
android:icon="@drawable/ic_action_browse"
|
2014-04-04 03:23:20 +00:00
|
|
|
yourapp:showAsAction="always"
|
2013-12-28 02:43:33 +00:00
|
|
|
>
|
|
|
|
<menu>
|
|
|
|
<item android:id="@+id/menu_verify"
|
|
|
|
android:title="@string/menu_verify_browser"
|
|
|
|
android:icon="@drawable/ic_action_browse"
|
|
|
|
/>
|
2012-02-27 03:59:10 +00:00
|
|
|
|
2014-04-09 13:10:23 +00:00
|
|
|
<!--
|
2013-12-28 02:43:33 +00:00
|
|
|
<item android:id="@+id/menu_use_chatsecure"
|
|
|
|
android:title="@string/menu_use_chatsecure"
|
|
|
|
android:icon="@drawable/ic_chatsecure"
|
2014-04-09 13:10:23 +00:00
|
|
|
/> -->
|
2013-12-28 02:43:33 +00:00
|
|
|
|
|
|
|
</menu>
|
|
|
|
</item>
|
2012-02-27 03:59:10 +00:00
|
|
|
<item android:id="@+id/menu_about"
|
|
|
|
android:title="@string/menu_about"
|
|
|
|
android:icon="@drawable/ic_menu_about"
|
2014-04-04 03:23:20 +00:00
|
|
|
yourapp:showAsAction="ifRoom"
|
2012-10-21 10:02:04 +00:00
|
|
|
|
2012-02-27 03:59:10 +00:00
|
|
|
/>
|
|
|
|
|
|
|
|
<item android:id="@+id/menu_wizard"
|
|
|
|
android:title="@string/menu_wizard"
|
|
|
|
android:icon="@drawable/ic_menu_goto"
|
2014-04-04 03:23:20 +00:00
|
|
|
yourapp:showAsAction="ifRoom"
|
2012-10-21 10:02:04 +00:00
|
|
|
|
2012-02-27 03:59:10 +00:00
|
|
|
/>
|
|
|
|
|
|
|
|
<item android:id="@+id/menu_exit"
|
|
|
|
android:title="@string/menu_exit"
|
|
|
|
android:icon="@drawable/ic_menu_exit"
|
2014-04-04 03:23:20 +00:00
|
|
|
yourapp:showAsAction="ifRoom"
|
2012-10-21 10:02:04 +00:00
|
|
|
|
2012-02-27 03:59:10 +00:00
|
|
|
/>
|
2014-04-18 10:22:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
<item android:id="@+id/menu_diag"
|
|
|
|
android:title="Test Mode"
|
|
|
|
android:icon="@drawable/ic_menu_check"
|
|
|
|
yourapp:showAsAction="never"
|
|
|
|
|
|
|
|
/>
|
2012-02-27 03:59:10 +00:00
|
|
|
|
|
|
|
</menu>
|
|
|
|
<!--
|
|
|
|
MenuItem mItem = null;
|
|
|
|
|
|
|
|
mItemOnOff = menu.add(0, 1, Menu.NONE, getString(R.string.menu_start));
|
|
|
|
mItemOnOff.setIcon(android.R.drawable.ic_media_play);
|
|
|
|
mItemOnOff.setAlphabeticShortcut('t');
|
|
|
|
mItemOnOff.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
|
|
|
|
|
|
|
|
mItem = menu.add(0, 4, Menu.NONE, getString(R.string.menu_settings));
|
|
|
|
mItem.setIcon(R.drawable.ic_menu_settings);
|
|
|
|
mItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
|
|
|
|
|
|
|
|
mItem = menu.add(0, 7, Menu.NONE, getString(R.string.menu_verify));
|
|
|
|
mItem.setIcon(R.drawable.ic_menu_check);
|
|
|
|
mItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
|
|
|
|
|
|
|
|
mItem = menu.add(0,6, Menu.NONE, getString(R.string.menu_about));
|
|
|
|
mItem.setIcon(R.drawable.ic_menu_about);
|
|
|
|
mItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
|
|
|
|
|
|
|
|
mItem = menu.add(0, 3, Menu.NONE, getString(R.string.menu_wizard));
|
|
|
|
mItem.setIcon(R.drawable.ic_menu_goto);
|
|
|
|
mItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
|
|
|
|
|
|
|
|
mItem = menu.add(0, 8, Menu.NONE, getString(R.string.menu_exit));
|
|
|
|
mItem.setIcon(R.drawable.ic_menu_exit);
|
|
|
|
mItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
|
|
|
|
-->
|