summaryrefslogtreecommitdiff
path: root/vdrmanager/res/menu/main_menu.xml
diff options
context:
space:
mode:
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