Questions tagged [android-navigation-bar]
141 questions
0
votes
0 answers
Problems with default Navigation Drawer Activity
I'm trying to edit the text to show the email of the user and add a logout function to a menu item. I used the default Navigation drawer:
But on trying these two I always get
Caused by: java.lang.NullPointerException: Attempt to invoke virtual…

Firmeza
- 127
- 2
- 12
0
votes
1 answer
How to include Search Bar in to Navigation Page
So, i need to include Search Bar in to Navigation Page or Navigation Bar, but I can't understand how do this programmatically. I can create Search Bar in App.cs but can't include it in Navigation Bar( I work on Xamarin.Forms and RestApi in…

Skech7
- 3
- 3
0
votes
1 answer
Hide the navigation bar when the menu has been clicked?
I'm building an Android native app with Android Studio & I got a problem with the navigation bar...
I succeeded to hide the navigation bar on the main screen with this code :
@Override
public void onWindowFocusChanged(boolean hasFocus) {
…

Totof TonMomon
- 83
- 2
- 8
0
votes
2 answers
How can I properly and permanently hide the status and navigation bars on Android?
I'm building an app for Android (6.0, but I can change it if necessary), and having trouble getting the status and navigation bars to hide properly. I've followed every online suggestion I can find, but the two bars both hide properly whenever the…

Bagelman
- 766
- 8
- 14
0
votes
1 answer
Navigation Bar and envelope icon showing on splash screen
I have a navigation drawer that is working fine on my app. I recently added a splash screen and it loads ok but a navigation bar is showing up along with an email icon on the bottom right.
ScreenShot form Tablet
I have this on my manifest:
…

Wendz
- 31
- 6
0
votes
1 answer
How to make navigation bar and status bar looks like a white scrim?
In my theme, I set
But if…

Pineapple
- 111
- 1
- 4
0
votes
1 answer
NoSuchMethodError when using setNavigationBarDividerColor()?
I was trying to create a divider between the navigation bar and my app content when they are the same colour, the way that Google has been doing it with their latest Material Design 2.0 updates to their apps like Google Contacts and Google Home. I…

Aden Diamond
- 301
- 4
- 23
0
votes
1 answer
Overlay layout that go over Navigation Bar Android 7+
I'm trying to do an Accessibility Service where the purpose it's to create some "layer" between the user when he touches the screen and the tap.
For example : when I touch the screen I when to double tap at this precise position I touch the…

KerberosMorphy
- 330
- 1
- 4
- 14
0
votes
1 answer
How to hide navigation bar
I've got a promblem with Android app.
I use this code to hide navigation bar.
public class Initer {
public static void fullScreen(Window window) {
if (Build.VERSION.SDK_INT >= 19) {
View decor = window.getDecorView();
…

Touki Liu
- 51
- 5
0
votes
2 answers
Application drawer item selection not working
I am creating side menu for my app, but some reason menu is not working (commented on position):
Main:
public class MainActivity extends AppCompatActivity implements TimePickerDialog.OnTimeSetListener/*,ViewPager.OnPageChangeListener*/ {
…

Dim
- 4,527
- 15
- 80
- 139
0
votes
1 answer
Android Programming: How to make navigation bar fully transparent in Android Nougat
I want to make the navigation bar fully transparent in my app. I have tried the other answers, but they only make the status bar fully transparent and the navigation bar still has a dark half-transparent color. Here is my code:
styles.xml: