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…
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) { …
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: …
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…
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(); …
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:
0
votes
1 answer

Android - How to add bottom navigationbar in all activities

I have an application at present with main activity. i need to add navigationbar at bottom. am planning to have three things in this navigationbar (home, help, settings). now i have leaned to add navigationbar with fragments from…
0
votes
1 answer

Do I need to create another activity inside fragment in order to display images while clicking on item of navigation bar?

I have 5 items on navigation bar with fragment of each item. What I want is, I want my images to display in every click to the item of navigation bar which I have stored on drawable folder. I am able to display the text but whenever I try to display…
0
votes
2 answers

Android - Navigation Bar replace my Bottom Navigation Bar

The problem is in the title, I use a Bottom Navigation View/Bar, it works fine on smartphone without virtual Navigation Bar : On my Samsung Galaxy S6 Edge without Navigation Bar And with a virtual NavBar, the Bottom Navigation View disappear : On my…
0
votes
1 answer

Viewpager and navigation bar on top of it

It seems that this question was asked many times before. At least i found a lot on the internet and SO in particular. But none of the answers helped, don't know why. I've created a simple blank tabbed activity project in Android Studio 2.2.2 Haven't…
1 2 3
9
10