G
Gast2
Gast
Hallo,
folgendes finde ich bei google zum Thema Menü
(Menus | Android Developers):
Ich habe meine Testapp sowohl auf ein Gerät mit Android 2.3, als auch auf einem andren Gerät mit Android 4.1 zu laufen. Auf beiden Geräten wird das Menü klassisch als option menu gezeigt. Sollte es beim neueren Android automatisch als action bar erscheinen?
Hat jemand Erfahrungen damit und kann mir sagen, warum es nicht als action bar erscheint und was zu tun ist, damit es als action bar erscheint?
Herzliche Grüße!
Frank
folgendes finde ich bei google zum Thema Menü
(Menus | Android Developers):
If you've developed your application for Android 2.3.x and lower, the system calls onCreateOptionsMenu() to create the options menu when the user opens the menu for the first time. If you've developed for Android 3.0 and higher, the system calls onCreateOptionsMenu() when starting the activity, in order to show items to the action bar.
Ich habe meine Testapp sowohl auf ein Gerät mit Android 2.3, als auch auf einem andren Gerät mit Android 4.1 zu laufen. Auf beiden Geräten wird das Menü klassisch als option menu gezeigt. Sollte es beim neueren Android automatisch als action bar erscheinen?
Hat jemand Erfahrungen damit und kann mir sagen, warum es nicht als action bar erscheint und was zu tun ist, damit es als action bar erscheint?
Herzliche Grüße!
Frank