Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 14727 [details]
Material title bar repro
Tested on 126.96.36.19903-pre2 with an S6 using API Level 23
Used the following to try to go fullscreen:
<style name="MyTheme" parent="MyTheme.Base">
<style name="MyTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
Title bar doesn't go away. The text on it is successfully hidden, but the frame stays intact.
Please see repro
are you using FormsAppCompatActivity?
Yes. Please see MainActivity.cs
I'm having a related issue. See here https://bugzilla.xamarin.com/show_bug.cgi?id=38227
Seems like there is no way to enter full screen mode at startup at the moment. :|
I have this issue too - occurs only if using Master Detail Page on Android. The Code I am using is:
View decorView = Window.DecorView;
var uiOptions = (int)decorView.SystemUiVisibility;
var newUiOptions = (int)uiOptions;
newUiOptions |= (int)SystemUiFlags.LowProfile;
newUiOptions |= (int)SystemUiFlags.Fullscreen;
newUiOptions |= (int)SystemUiFlags.HideNavigation;
newUiOptions |= (int)SystemUiFlags.Immersive;
decorView.SystemUiVisibility = (StatusBarVisibility)newUiOptions;
The result is that the status bar is cleared but not hidden and a blue empty bar stays visible.
Amendment: The example above worked before I switched to Material Design.
I also have this problem. The title bar occupies space even though it's not supposed to be there when hidden.
Any update on this? I can't update to AppCompat unless this is fixed.
In AppCompat, Forms.SetTitleBarVisibility (AndroidTitleBarVisibility.Never); does not work.
Please fix it as soon as possible. This issue is preventing us from switching to FormsAppCompatActivity.
Please see: https://github.com/xamarin/Xamarin.Forms/pull/350
Should be fixed in 2.3.4-pre1. Thank you!
I have checked this issue with Xamarin.Forms 2.3.4-pre1 and this issue has been fixed.
Hence closing this issue.
I think this bug has returned in Xamarin.Forms 188.8.131.52-pre3, tested on a S4 API 21 and Nexus 5 API 25.
In the same scenario i set the flag :
But the underlay(frame) is still shown, the text is successfully hidden.
The underlay was removed by this PR: https://github.com/xamarin/Xamarin.Forms/pull/892
I'm not sure if it was included in -pre3.
This fix hasn't been included in any pre/release >= 2.3.5 of Xamarin.Forms...
not possible to hide statusbar
<style name="MainTheme" parent="MainTheme.NoActionBar">
// protected override void OnCreate(Bundle bundle)
//Window.DecorView.SystemUiVisibility = StatusBarVisibility.Hidden;
Samsung Google Galaxy Nexus (android 4,3 Api 18)
Any updates on that bug? I experience the same issue - the text from status bar is disappeared but frame is still there: