Questions tagged [android-bottom-nav-view]
51 questions
21
votes
6 answers
Hide android bottom navigation view for child screens/ fragments
I'm trying to create a single activity Android application.
I have MainActivity (only activity) with BottomNavigationView, three top level fragments and some child fragments. My requirement is whenever the screen is showing top level fragments,…

Subhojit Shaw
- 4,645
- 1
- 11
- 8
20
votes
2 answers
Android Architecture navigation Component with Bottom Navigation?
Now I am wondering which is the most proper way of implementation when want to combine BottomNavigation with the new Android Architecture Navigation Component?
For now found two approaches:
Single Navigation Graph which maintains all…

MrVasilev
- 1,503
- 2
- 17
- 34
17
votes
2 answers
Android Navigation Component + Login Flow + Nested BottomNavigationView
I'm struggle building a Navigation, like on the image below, with the Android Navigation Component.
I need a "Login Flow", check if the user is logged in and then navigate to the main part of the app (also clearing the backstack). The main part…

D.Roters
- 221
- 2
- 6
17
votes
5 answers
BottomNavigationView Original icon color
I have my bottomNavigationView :
And i added this class to prevent it from doing shiftingMode :
public class BottomNavigationViewHelper {
public static void disableShiftMode(BottomNavigationView view) {
BottomNavigationMenuView menuView…
user7913931
10
votes
4 answers
Android clear backstack when leaving item tab BottomNavigation
I am using the last navigation library (version 2.4.0) which include multiple backstacks with a bottom navigation view.
The default behavior is that each backstack is saved when user go back to a tab.
I want to clear a backstack when the user leave…

Pierre
- 450
- 6
- 18
10
votes
1 answer
BottomNavigationView text blinking on change
Here is blinking:
http://gph.is/2GH9P0b

goraga1
- 167
- 12
9
votes
5 answers
How can i dynamically change bottom navigation items text?
Im trying to achieve the above design. I'm able to change the icons, but cannot change the bottom text. Im using material bottom navigation bar
I achieved the icon change by implementing separate selector drawables for each icon. Is there any way…

Narayan C.R
- 866
- 1
- 8
- 22
8
votes
2 answers
How to change a specific icon image from Bottom Navigation View
I need to implement a Bottom Navigation View in my android app. The middle icon needs to be an image, the company logo. But when I run the app it appears only a grey filled rounded icon. The images above show what I want and what I'm getting.
What I…

Fernando Barbosa
- 321
- 4
- 20
8
votes
0 answers
BottomSheet Fragment Scroll behaviour issue in NestedScrollview present in Bottom sheet layout
my Scenario is on button click i need to open a bottomsheet which is half expanded and when we drag up it should behave like collasping toolbar.
Here Appbar behaviour is in sync with bottomsheet but somehow NestedScrollview behaviour is only sync…

Feroz Siddiqui
- 3,840
- 6
- 34
- 69
8
votes
1 answer
BottomNavigationView: How to remove hypheanted labels
Implementing a 5-item BottomNavigationView -with the labels always shown- I'm using the following approach:

Julián M.
- 912
- 8
- 11
8
votes
1 answer
Change background colour of area behind selected item in Android Bottom Navigation Bar
Is it possible to change the background colour of the particular portion of the bar behind the selected item of the bottom navigation bar or any third party libraries that support this?
Also is it possible to add a highlighted bar along the bottom…

d199224
- 531
- 2
- 8
- 23
6
votes
1 answer
How to use Android Navigation Component + BottomNavigationView+ NavigationView (Navigation Drawer)
I would like to know what is the best practice of using Navigation Component + BottomNavigationView + NavigationDrawer.
I have tried google's advanced sample for Navigation component. It worked very well for multiple back stack modules. Because it…

Azamat Mahkamov
- 912
- 14
- 18
5
votes
1 answer
How to make BottomNavigationView Horizontally Oriented Icon and Label?
I want to alight icon and label of BottomNavigationView align horizontally. Something like this
Default orientation is given as
Should I make custom layout for menu items or is there any simple way?

musooff
- 6,412
- 3
- 36
- 65
5
votes
1 answer
Android Bottom Navigation View item text color?
I Started working on Android Bottom Navigation View. But i am facing one issue. If i added 5 items to bottom navigation view, only selected items showing item text. If i added 3 items it is working fine. Any one please tell me how to show the item…

kartheeki j
- 2,206
- 5
- 27
- 51
3
votes
1 answer
Handling back button with Android Navigation with two navigation graphs
I have created a small sample app to test out the android navigation library. The general idea is that I want two tabs with their own navigation graph.
My main activity layout contains a BottomNavigationView with two NavHosts.
The…

Macarse
- 91,829
- 44
- 175
- 230