Re: [android-developers] lights out mode PLUS menu soft key?

2011-11-07 Thread Mark Murphy
Put a menu in your UI. If you don't want it in the action bar (because you have no other need for the action bar), that's fine -- put a menu button somewhere in your UI that your users will find and use. Or don't use menus, but rather some other UI paradigm (I haven't encountered many games that

Re: [android-developers] Lights Out mode

2011-07-12 Thread Mark Murphy
Nothing leaps to mind as being a problem. This sample project successfully goes into lights-out mode via an options menu item: https://github.com/commonsguy/cw-advandroid/tree/master/Honeycomb/FeedFragments (see lightsOut() method in AbstractFeedsFragment) Make sure your targetSdkVersion is 11

Re: [android-developers] Lights Out mode

2011-07-12 Thread Nikolay Elenkov
On Wed, Jul 13, 2011 at 6:54 AM, Mark mbus...@bitwisecontrols.com wrote: I am trying (unsuccessfully thus far) to dim the system bar on Honeycomb devices. My current layout contains a single WebView. The following is called in my bundle's onCreate routine. Maybe it doesn't work from

Re: [android-developers] Lights Out mode

2011-07-12 Thread Dianne Hackborn
Yes you'll need to do this after your view hierarchy is attached to the window manager. On Tue, Jul 12, 2011 at 7:13 PM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Wed, Jul 13, 2011 at 6:54 AM, Mark mbus...@bitwisecontrols.com wrote: I am trying (unsuccessfully thus far) to dim the