java - android: Custom Submenus -
i want create customized submenu can add "about page" application. submenu text view bunch of info. im defining menu in xml. or links great, thanks!!!
<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/settings_menu" android:title="settings" /> <item android:id="@+id/about_menu" android:title="about"> <menu> <item android:id="@+id/about_submenu" android:title="tip message" /> </menu> </item> <item android:id="@+id/quit_menu" android:title="quit" /> </menu>
also out of curiosity, how define more complex custom submenu, 1 takes user input keyboard.
i think it's easier make menu. try activity
@android:drawable/menu_submenu_background
background example.
Comments
Post a Comment