summaryrefslogtreecommitdiff
path: root/vdrmanager/res/menu/main_menu.xml
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-02-12 22:25:24 +0100
committerlado <herrlado@gmail.com>2013-02-12 22:25:24 +0100
commitb1b0b71f5bcf9a4ce4ffbffaa26ddfe9b20b0957 (patch)
treeaa4767e0f57a089be64571cdb4ffcf5749e75d73 /vdrmanager/res/menu/main_menu.xml
parent9811ddf964309061deb4e2c7701ae8a607f57b8c (diff)
downloadvdr-manager-b1b0b71f5bcf9a4ce4ffbffaa26ddfe9b20b0957.tar.gz
vdr-manager-b1b0b71f5bcf9a4ce4ffbffaa26ddfe9b20b0957.tar.bz2
menu single
Diffstat (limited to 'vdrmanager/res/menu/main_menu.xml')
-rw-r--r--vdrmanager/res/menu/main_menu.xml50
1 files changed, 30 insertions, 20 deletions
diff --git a/vdrmanager/res/menu/main_menu.xml b/vdrmanager/res/menu/main_menu.xml
index 478f61b..9e11f42 100644
--- a/vdrmanager/res/menu/main_menu.xml
+++ b/vdrmanager/res/menu/main_menu.xml
@@ -1,23 +1,33 @@
<?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:id="@+id/main_menu_goto"
+ android:icon="@drawable/ic_menu_goto"
+ android:showAsAction="ifRoom"
+ android:title="@string/main_menu_goto"/>
+ <item
+ android:id="@+id/menu_search"
+ android:actionViewClass="com.actionbarsherlock.widget.SearchView"
+ android:icon="@android:drawable/ic_menu_search"
+ android:showAsAction="always"
+ android:title="Search"/>
+ <item
+ android:id="@+id/main_menu_preferences"
+ android:icon="@android:drawable/ic_menu_preferences"
+ android:showAsAction="ifRoom"
+ android:title="@string/main_menu_preferences"/>
+ <item
+ android:id="@+id/main_menu_clear_search"
+ android:icon="@android:drawable/ic_menu_delete"
+ android:title="@string/main_menu_clear_search"/>
+ <item
+ android:id="@+id/main_menu_info"
+ android:icon="@android:drawable/ic_menu_info_details"
+ android:title="@string/main_menu_info"/>
+ <item
+ android:id="@+id/main_menu_exit"
+ android:icon="@android:drawable/ic_menu_close_clear_cancel"
+ android:title="@string/main_menu_exit"/>
- <item
- android:id="@+id/main_menu_preferences"
- android:title="@string/main_menu_preferences"
- android:icon="@android:drawable/ic_menu_preferences"
- />
- <item
- android:id="@+id/main_menu_info"
- android:title="@string/main_menu_info"
- android:icon="@android:drawable/ic_menu_info_details"
- />
- <item
- android:id="@+id/main_menu_exit"
- android:title="@string/main_menu_exit"
- android:icon="@android:drawable/ic_menu_close_clear_cancel"
- />
-
- <item android:id="@+id/main_menu_goto" android:title="@string/main_menu_goto"
- android:icon="@drawable/ic_menu_goto"
- />
</menu> \ No newline at end of file