[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [orbot/master] removed unneeded versioned menu resources
commit 77ebef409a50b568924eb8d6a6eaefca0333c54c
Author: n8fr8 <nathan@xxxxxxxxxxx>
Date: Sun Oct 21 15:33:37 2012 +0530
removed unneeded versioned menu resources
---
res/menu-v11/main.xml | 91 -------------------------------------------------
res/menu-v13/main.xml | 91 -------------------------------------------------
2 files changed, 0 insertions(+), 182 deletions(-)
diff --git a/res/menu-v11/main.xml b/res/menu-v11/main.xml
deleted file mode 100755
index 7870c32..0000000
--- a/res/menu-v11/main.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?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.
- */
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:id="@+id/menu_start"
- android:title="@string/menu_start"
- android:icon="@drawable/ic_action_start"
- android:showAsAction="ifRoom"
-
- />
-
- <item android:id="@+id/menu_settings"
- android:title="@string/menu_settings"
- android:icon="@drawable/ic_action_settings"
- android:showAsAction="always"
- />
-
- <item android:id="@+id/menu_verify"
- android:title="@string/menu_verify"
- android:icon="@drawable/ic_action_browse"
- android:showAsAction="always"
-
- />
-
- <item android:id="@+id/menu_about"
- android:title="@string/menu_about"
- android:icon="@drawable/ic_menu_about"
- android:showAsAction="ifRoom"
-
- />
-
- <item android:id="@+id/menu_wizard"
- android:title="@string/menu_wizard"
- android:icon="@drawable/ic_menu_goto"
- android:showAsAction="ifRoom"
-
- />
-
- <item android:id="@+id/menu_exit"
- android:title="@string/menu_exit"
- android:icon="@drawable/ic_menu_exit"
- android:showAsAction="ifRoom"
-
- />
-
-</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);
- -->
diff --git a/res/menu-v13/main.xml b/res/menu-v13/main.xml
deleted file mode 100755
index 7870c32..0000000
--- a/res/menu-v13/main.xml
+++ /dev/null
@@ -1,91 +0,0 @@
-<?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.
- */
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:id="@+id/menu_start"
- android:title="@string/menu_start"
- android:icon="@drawable/ic_action_start"
- android:showAsAction="ifRoom"
-
- />
-
- <item android:id="@+id/menu_settings"
- android:title="@string/menu_settings"
- android:icon="@drawable/ic_action_settings"
- android:showAsAction="always"
- />
-
- <item android:id="@+id/menu_verify"
- android:title="@string/menu_verify"
- android:icon="@drawable/ic_action_browse"
- android:showAsAction="always"
-
- />
-
- <item android:id="@+id/menu_about"
- android:title="@string/menu_about"
- android:icon="@drawable/ic_menu_about"
- android:showAsAction="ifRoom"
-
- />
-
- <item android:id="@+id/menu_wizard"
- android:title="@string/menu_wizard"
- android:icon="@drawable/ic_menu_goto"
- android:showAsAction="ifRoom"
-
- />
-
- <item android:id="@+id/menu_exit"
- android:title="@string/menu_exit"
- android:icon="@drawable/ic_menu_exit"
- android:showAsAction="ifRoom"
-
- />
-
-</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);
- -->
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits