Issue
I'm not sure how I got this, and I can't find anything similar, but my software navigation and status bar are being drawn over my layout instead of my layout being fit between them.
How do I get my layout to be drawn between them instead of under?
Edit:
It seems this is the culprit, located in the styles:
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
Solution
Just fix this:
<item name="android:windowTranslucentStatus">false</item>
<item name="android:windowTranslucentNavigation">false</item>
or simply remove them. These attributes make your StatusBar and NavigationBar semi-transparent, so that's why your layout was acting like a full screen.
Answered By - Hussein El Feky
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.