Hi there,

 

has anyone ever tried to hide the android 4 bar with that
three-dot-button (e.g. HTC ONE S)?

>From what I read and what mono offers, I tried this:

 

Window.DecorView.Visibility = ViewStates.Invisible;

 

It seems to work for some activities but not for all. Whenever I start
an activity that is a TabActivity, I get a Java.Lang.Exception and the
screen stays black. 

 

As I don't necessarily need to hide that button when the TabActivity is
shown, I tried to only enable this option for the other activities but
the same error still occurs.

 

Summed up: 

Activity A (main, launcher) hides the bar  in OnResume and shows it in
OnPause. Works as expected.

Acitivty B (TabActivity) is launched by an intent resulting from an
action performed in A. Whenever A hid the bar, B stays black and an
exception is thrown.

 

Any ideas?

 

Regards

Christian

 

 

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to