Borde gap between status bar and AppBar [duplicate] - android

This question already has answers here:
Android Status Bar transparent with Navigation Drawer - Appbar elevation
(3 answers)
How to get the new NavigationView to play nice with status bar scrim?
(5 answers)
Closed 6 years ago.
I have an issue with a simple Android project I'm styling.
The issue is exactly like the one you can sse by creating and building a default project from Android Studio Navigation Drawer Activity: this template has the navigation drawer that covers also the status bar (like GMail, for example): but as you can see there is something like a gap between the appbar and the status bar.
I really don't like it and I would like to remove it somehow, but the only way I found at the moment (without create a detailed theme from scratch, which would be inconvenient for this simple project) is to put to edit values-v21/styles.xml from
<item name="android:statusBarColor">#android:color/transparent</item>
to
<item name="android:statusBarColor">#color/colorPrimaryDark</item>
but unfortunately that also prevents the navigation drawer to be shown full height!
I'm a little upset because I think that there is a very simple solution but I'm still not able to found it!

Related

How to implement the Toolbar and Status bar of Google play store app in my app? [duplicate]

This question already has answers here:
Lollipop : draw behind statusBar with its color set to transparent
(16 answers)
Closed 5 years ago.
If you go into the Google Play store, and open the details page for an app, the banner image is visible even up to behind the status bar. How do I implement the same effect in my app (an image going up into the status bar)?
I have tried the following layout XML code in my app, but it doesn't make the status bar completely transparent:
<item name="android:windowTranslucentStatus">true</item>
This question I think is essentially the same as this one: Lollipop : draw behind statusBar with its color set to transparent and there are some good answers there.

Bottom Navigation Android [duplicate]

This question already has an answer here:
How to make bottom navigation show menu items with icon and text except center item menu show only icon? [closed]
(1 answer)
Closed 5 years ago.
So I seen the new PlayStaion app for android and I was wondring if I can find a library to implement a bottom navigation like it if any one know a library like this please comment.
here is a screenshot of PlayStaion Android App
Use Bottom Navigation Activity.
Android Studio 2.3 is provided itself Bottom Navigation

Hide App name in Navigation Drawer [duplicate]

This question already has answers here:
Hide ActionBar title just for one activity
(3 answers)
Closed 6 years ago.
I need some guide to remove the name of app which is quite annoying in top bar of navigation: App Top Bar Navigation
I'm using Toolbar and native google Navigation Drawer I tried some method like:
getSupportActionBar().setDisplayShowTitleEnabled(false);
but application stop working
or changing theme but not working
you must first call this setSupportActionBar(mToolbar);
also make sure that you are using style with Theme.AppCompat.Light.NoActionBar

Android | Navigation Drawer Fragment on top StatusBar

I used fragment to act as the listview in navigation drawer (as instructed by android developers guide). It's work fine to me, but now I have to put the status bar under the drawer layout - not otherwise with transparent status bar.
I have searched around and only found 1 potential solution provided in here. But it's not working. I would like to comment for more info but I dont have commentator privilege yet, so I start a new question.
In theme of your App in style.xml
add <item name="android:statusBarColor">#android:color/transparent</item>

How to fix action menu location on action bar [duplicate]

This question already has answers here:
Android overflow menu positioned above actionbar/toolbar?
(4 answers)
Closed 8 years ago.
I am trying to fix this problem i am having. My Action Menu is showing up over the Action Bar. I want it to show below. Like it normally should. The theme i am using is Theme.AppCompat.
This is how i want it: http://postimg.org/image/m7lrmwl09/
This is how i have it: http://postimg.org/image/yqiutbnob/
I have tried changing the theme but i need an AppCompat theme.
This is not a problem, this is the new standard behavior for Material Design:
http://www.google.com/design/spec/components/menus.html#menus-usage

Categories

Resources