question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Navbar window fitting android

See original GitHub issue

I was wondering why the following was reverted: https://github.com/software-mansion/react-native-screens/commit/4f8efd2873516dd2d3c30661dffce99b5fa76f57

The current navbar on android doesn’t take into account for using a translucent status bar:

MainActivity.onCreate

getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hirbodcommented, Jul 1, 2020

I can confirm that it was fixed in the latest release

1reaction
mrousavycommented, May 12, 2020

Nevermind, found it! If anyone’s interested, I’ve created a patch for this. Use patch-package and rebuild to include the patch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update UI components with NavigationUI - Android Developers
To add a navigation drawer, first declare a DrawerLayout as the root view. Inside the DrawerLayout , add a layout for the main...
Read more >
Android Nougat 7.0 How To Install NEW Nav Bar ANY DEVICE!
FREE 30 Day Amazon Prime Trial: http://goo.gl/xhFJ1eProtect Your Phone With A Slickwraps today! http://SW.life/DMXUse Promo Code DMX for $5 ...
Read more >
Android: How to fit only map objects inside system window?
I have a map fragment that is full screen and goes behind the navigation and status bars by setting fitsSystemWindows to "false" ....
Read more >
Navbar Apps - Apps on Google Play
Tired of your boring Navigation Bar? Make it awesome! Turn it blue, make it red - anything you want. Select cool image as...
Read more >
Why would I want to fitsSystemWindows? | by Ian Lake - Medium
System windows are the parts of the screen where the system is drawing ... a transparent navigation bar — by using android:fitsSystemWindows="true" in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found