Re: [android-developers] Re: "lights out" mode PLUS menu soft key?
On Tue, Mar 13, 2012 at 6:50 AM, Dianne Hackborn <hackbod@android.com> wrote:
There's also an Android Developers blog post on this:
http://android-developers.blogspot.in/2012/01/say-goodbye-to-menu-button.html
I had somehow missed that. Hopefully that's useful to the next person who bumps into this thread.
In that post:
The only exception is that if you set
I am not able to trigger the overflow button this way. In my AndroidManifest.xml I have:
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="11" />
and
<application android:theme="@android:style/Theme.Holo.NoActionBar">
But this doesn't show the legacy overflow buttons. If I could get that to work, it will solve the immediate problem I am facing which is to get into "Lights off" mode and yet have a way to go to the legacy options menu from the navigation bar on the bottom .
thanks,
-- Yes the menu button is deprecated. The menu is now part of the ActionBar as described at http://developer.android.com/design/patterns/actionbar.html
There's also an Android Developers blog post on this:
http://android-developers.blogspot.in/2012/01/say-goodbye-to-menu-button.html
I had somehow missed that. Hopefully that's useful to the next person who bumps into this thread.
In that post:
The only exception is that if you set
minSdkVersion
to 10 or lower, set targetSdkVersion
to 11, 12, or 13, and you do not use ActionBar, the system will add the legacy overflow button when running your app on a handset with Android 4.0 or higher.I am not able to trigger the overflow button this way. In my AndroidManifest.xml I have:
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="11" />
and
<application android:theme="@android:style/Theme.Holo.NoActionBar">
But this doesn't show the legacy overflow buttons. If I could get that to work, it will solve the immediate problem I am facing which is to get into "Lights off" mode and yet have a way to go to the legacy options menu from the navigation bar on the bottom .
thanks,
Harshad RJ
http://lavadip.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home