2

I am Developing an app for(honeycomb)tablet , want a full screen view.how to hide the bar in which containing back button ??

Arun Mohan
  • 744
  • 1
  • 9
  • 20

1 Answers1

3

There seems to be no way of hiding it completely unless you have a rooted device. See answer from Romain Guy here: Is there a way to hide the system bar in Android 3.0? It's an internal device and I'm managing navigation

However, you can dim it. Making them sort of invisible, instead you see the dots. Using LIGHTS_OUT

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

Reference, answer here: Hiding Systembar in android 3.0(honeycomb)

Or in other words, search for hide system bar android.

Community
  • 1
  • 1
David Olsson
  • 8,085
  • 3
  • 30
  • 38
  • Thanks :) Its hiding fine, but it is appearing again when I touch on it. – Arun Mohan Mar 08 '12 at 09:58
  • Yes, but you can also add a listener to listen to the updates of the visibility. See http://developer.android.com/reference/android/view/View.html#setOnSystemUiVisibilityChangeListener(android.view.View.OnSystemUiVisibilityChangeListener and http://developer.android.com/reference/android/view/View.OnSystemUiVisibilityChangeListener.html – David Olsson Mar 08 '12 at 10:00
  • Listen to the visibility and then take appropriate actions. The user might want to use the home button for example. – David Olsson Mar 08 '12 at 10:01