The Material status bar overlay should be 24px
See original GitHub issueThis is a (multiple allowed):
-
bug
-
enhancement
-
Framework7 Version: 1.5.3
-
Platform and Target: Cordova – Android
What you did
I created a PhoneGap application running on Android API 21+ and then I explicitly enabled fullscreen using this code:
window.getDecorView().setSystemUiVisibility(
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
window.setStatusBarColor(Color.TRANSPARENT);
To check the statusbar size, I temporarily set it to red:
.statusbar-overlay { background-color: red; }
Expected Behavior
The status bar overlay should be 24px while using the Material theme.
Actual Behavior
The status bar is set to 20px and a lot of other elements depending on it also use a padding or top position of 20px.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Height of status bar in Android [duplicate] - Stack Overflow
According to Material Guidance; height of status bar is 24 dp. If you want get status bar height in pixels you can use...
Read more >Status bars - System experiences - Human Interface Guidelines
A status bar appears along the upper edge of the screen and displays information about the device's current state, like the time, cellular...
Read more >Get a Material Design Status Bar & Icons on Any Android ...
Color-Matching Status Bar with Stock Android Icons—No RootFull ... Status will overlay your existing status bar with a brand new one, ...
Read more >React Icon Component - Material UI - MUI
Standardized Material Icons exported as React components (SVG icons). ... If you aren't already using Material UI in your project, you can add...
Read more >Status bar overlay | Framework7 v1 Documentation
iOS 7+ allows you to have make full screen apps. But there could be such problem when status bar overlap your app: Not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lazza this cool. I just wanted to make sure I understood the bug. Link you status bar issue/PR here as well. I’m an apache Cordova core committee / Adobe Phonegap team member and I want this to work seamlessly for everyone.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.