diff options
author | Andrew Dolgov <[email protected]> | 2012-09-16 13:25:28 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-16 13:25:28 +0400 |
commit | ced80be1aea975b59db5a0e6dd14acb054e7910e (patch) | |
tree | f69f8c12151d0ccb9eee7f52d598c6ef626c914c /res/menu | |
parent | 86a4f6c2dea5700ed3597d9afe280ddb93d56316 (diff) |
initial
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/headlines_context_menu.xml (renamed from res/menu/headlines_menu.xml) | 0 | ||||
-rw-r--r-- | res/menu/main_menu.xml | 35 | ||||
-rw-r--r-- | res/menu/online_menu.xml | 29 |
3 files changed, 29 insertions, 35 deletions
diff --git a/res/menu/headlines_menu.xml b/res/menu/headlines_context_menu.xml index 073ecb37..073ecb37 100644 --- a/res/menu/headlines_menu.xml +++ b/res/menu/headlines_context_menu.xml diff --git a/res/menu/main_menu.xml b/res/menu/main_menu.xml index c6e49511..68625729 100644 --- a/res/menu/main_menu.xml +++ b/res/menu/main_menu.xml @@ -2,41 +2,6 @@ <group android:id="@+id/menu_group_logged_in" > - <group android:id="@+id/menu_group_feeds" > - - <!-- - <item - android:id="@+id/back_to_categories" - android:icon="@android:drawable/ic_menu_close_clear_cancel" - android:showAsAction="" - android:title="@string/back_to_categories"/> - --> - - <item - android:id="@+id/show_feeds" - android:icon="@android:drawable/ic_menu_agenda" - android:showAsAction="" - android:title="@string/menu_all_feeds"/> - - <item - android:id="@+id/update_feeds" - android:icon="@android:drawable/ic_menu_rotate" - android:showAsAction="ifRoom" - android:title="@string/update_feeds"/> - - <item - android:id="@+id/go_offline" - android:icon="@drawable/ic_menu_cloud" - android:showAsAction="" - android:title="@string/go_offline"/> - - <item - android:id="@+id/logout" - android:icon="@drawable/ic_menu_exit" - android:showAsAction="" - android:title="@string/logout"/> - </group> - <group android:id="@+id/menu_group_headlines" > <item diff --git a/res/menu/online_menu.xml b/res/menu/online_menu.xml new file mode 100644 index 00000000..d299eb6f --- /dev/null +++ b/res/menu/online_menu.xml @@ -0,0 +1,29 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <group android:id="@+id/menu_group_logged_in" > + + <item + android:id="@+id/logout" + android:icon="@drawable/ic_menu_exit" + android:showAsAction="" + android:title="@string/logout"/> + + </group> + + <group android:id="@+id/menu_group_logged_out" > + + <item + android:id="@+id/login" + android:icon="@android:drawable/ic_menu_rotate" + android:showAsAction="ifRoom|withText" + android:title="@string/login_login"/> + </group> + + <item + android:id="@+id/preferences" + android:icon="@android:drawable/ic_menu_preferences" + android:showAsAction="" + android:title="@string/preferences"/> + + +</menu>
\ No newline at end of file |