summaryrefslogtreecommitdiff
path: root/vdrmanager/res/menu
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res/menu')
-rw-r--r--vdrmanager/res/menu/epg_list_menu.xml6
-rw-r--r--vdrmanager/res/menu/main_menu.xml50
2 files changed, 36 insertions, 20 deletions
diff --git a/vdrmanager/res/menu/epg_list_menu.xml b/vdrmanager/res/menu/epg_list_menu.xml
index 54598c8..2335101 100644
--- a/vdrmanager/res/menu/epg_list_menu.xml
+++ b/vdrmanager/res/menu/epg_list_menu.xml
@@ -12,4 +12,10 @@
android:icon="@android:drawable/ic_menu_agenda"
android:title="@string/action_menu_channels"/>
+ <item
+ android:id="@+id/epg_list_sort_menu"
+ android:icon="@android:drawable/ic_menu_sort_alphabetically"
+ android:title="@string/sort"/>
+
+
</menu> \ No newline at end of file
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