Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is API call to do "lights out mode" in honeycomb?

I am working on a game and would like to have the full screen to itself.

Did anyone found a way to make the app go full screen on Android Honeycomb preview emulator?

like image 836
Paul I Avatar asked Jan 29 '11 01:01

Paul I


1 Answers

Lights out mode has changed in the full 3.0 SDK. You can now enter lights out mode as follows:

View v = findViewById(R.id.view_id);
v.setSystemUiVisibility(View.STATUS_BAR_HIDDEN);

You can also set a listener on the view to be notified on changes to the system bar's visibility.

like image 79
crafty Avatar answered Oct 21 '22 04:10

crafty