Bug 59185 - Android Status Bar Covers Content When It Is Translucent
Summary: Android Status Bar Covers Content When It Is Translucent
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.4.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
: 60644 ()
Depends on:
Reported: 2017-09-01 18:40 UTC by Jimmy [MSFT]
Modified: 2018-04-08 17:44 UTC (History)
7 users (show)

Tags: ac android status bar layout
Is this bug a regression?: ---
Last known good build:

repro project (48.96 KB, application/x-zip-compressed)
2017-09-01 18:40 UTC, Jimmy [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 for Bug 59185 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Jimmy [MSFT] 2017-09-01 18:40:59 UTC
Created attachment 24526 [details]
repro project

### Overview
By default, the status bar on Android is a solid color and content is laid out below it. But making it translucent by setting windowTranslucentStatus to true in code or the theme style will result in the page content being laid out underneath the status bar area.

### Steps to Reproduce
1. Run the attached project on Android 4.4 or higher
2. Press the different Buttons on the change the Page type

### Expected Results
The status bar should not cover any of the page content.

### Actual Results
Page content is laid out underneath the status bar.
Comment 1 Jimmy [MSFT] 2017-09-01 21:13:58 UTC
There's already a PR opened to fix this in a NavigationPage, so it could be a potential fix if more commits are added for the other page types: https://github.com/xamarin/Xamarin.Forms/pull/1116
Comment 2 Paul DiPietro [MSFT] 2017-11-13 15:17:02 UTC
*** Bug 60644 has been marked as a duplicate of this bug. ***
Comment 3 Björn Bentmar 2017-11-20 20:55:17 UTC
Made a new PR with support for Transluscentnavigation and orientationchanges to solve this https://github.com/xamarin/Xamarin.Forms/pull/1287