diff options
author | Andrew Dolgov <[email protected]> | 2011-09-08 14:23:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-09-08 14:23:44 +0400 |
commit | a04f7480142a787e22fb4e152aae566bf0c43f29 (patch) | |
tree | 7327b71472b5af2a2228529acb94908497c67d74 /res/menu | |
parent | bc06293a39687794b607e5231aa53f2881957ed7 (diff) |
implement login
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/login_menu.xml | 15 | ||||
-rw-r--r-- | res/menu/main_menu.xml | 12 |
2 files changed, 27 insertions, 0 deletions
diff --git a/res/menu/login_menu.xml b/res/menu/login_menu.xml new file mode 100644 index 00000000..0c244247 --- /dev/null +++ b/res/menu/login_menu.xml @@ -0,0 +1,15 @@ + + <menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@+id/preferences" + android:icon="@android:drawable/ic_menu_preferences" + android:title="@string/preferences" + android:showAsAction="ifRoom|withText" + /> + + <item android:id="@+id/login" + android:icon="@android:drawable/ic_menu_rotate" + android:title="@string/login_login" + android:showAsAction="ifRoom|withText" + /> + + </menu> diff --git a/res/menu/main_menu.xml b/res/menu/main_menu.xml new file mode 100644 index 00000000..8552cfcd --- /dev/null +++ b/res/menu/main_menu.xml @@ -0,0 +1,12 @@ + + <menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@+id/preferences" + android:icon="@android:drawable/ic_menu_preferences" + android:title="@string/preferences" + android:showAsAction="ifRoom|withText"/> + + <item android:id="@+id/logout" + android:title="@string/logout" + android:showAsAction=""/> + + </menu> |