I am trying to add lights out mode to my game, but cannot get it to
coexist with the menu soft key, which I still need to be accessible.
To elaborate, setSystemUiVisibility(View.STATUS_BAR_HIDDEN) seems to
have no effect unless I also target sdk version 11 in my
AndroidManifest (uses-sdk
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
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.
setContentView(R.layout.main);
mWebView = (WebView) findViewById(R.id.webview);
if
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
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
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
6 matches
Mail list logo