Questions tagged [android-bottom-nav-view]
51 questions
1
vote
0 answers
Inner fragment with fitsSystemWindows
I am working on the transparent status bar and bottom navigation bar visible. I have achieved the same with my last question: Gradient status bar with BottomNavigationView
But now, I have a fragments in which fitsSystemWindows is not
working. I…

Annie
- 2,397
- 3
- 18
- 26
1
vote
2 answers
How to hide bottom navigation view when keyboard is in use?
For my app in the main tasks i take quite a bit of input from the user. Currently when they go to enter their input the keyboard rises and the bottom navigation view stays visible above it. However what i want to happen is that when the keyboard…

euandeas
- 87
- 1
- 9
1
vote
0 answers
different items background in BottomNavigation
I'm trying to customise my BottomNavigationBar.
I set tabs' shape and color by specifying common itemBackground to BottomNavigatoinBar, but I'd like different tabs to have different colors.
Is there a way to set the background for each element…

Jeavie
- 212
- 4
- 16
1
vote
2 answers
BottomNavigation initial setCurrentItem not showing fragment and relaunching fragment fails
I have a Main Activity which uses a TabSelectedListener to show fragments for the AHBottomNavigation menu. The fragment called "FirstFragment" contains a FragmentPagerAdapter which allows the user to swipe between two tabs, each of which have its…

Paradox
- 4,602
- 12
- 44
- 88
1
vote
1 answer
Vertical Scrolling CoordinatorLayout Behavior for BottomNavigationView with RecyclerView vertical scrolling
How to define a CoordinatorLayout.Behavior class for BottomNavigationView which scrolls synchronized with the RecyclerView veritical scroll.
I have seen this and this, but all it does is just show/hide the NavigationView on veritical scroll events…

Darish
- 11,032
- 5
- 50
- 70
0
votes
1 answer
Add ring around selected tab in BottomNavigationView
Is there a way to put a ring around a selected tab using BottomNavigationView the way Instagram does when you click on the profile tab?
In this case, the profile tab has a gray ring around the photo.

Micro
- 10,303
- 14
- 82
- 120
0
votes
1 answer
BottomAppBar and BottomNavigationView with FloatingActionButton UI is messed up
I have added BottomAppBar and BottomNavigationView with FloatingActionButton inside ConstraintLayout but the white strip is showing at bottom of the screen in the entire application. On this screen, a Navigation drawer is added using Drawerlaout,…

Kuldeep Kulkarni
- 796
- 5
- 20
0
votes
1 answer
Android BottomNavigationView with child of Tabbed ViewPager
I'm using BottomNavigationView to navigate between two Fragments, on of these fragments has its own ViewPager with TabLayout as below:
This is what i'm trying to do:
MainActivity
|--- HomeFragment
| |--- POPULAR
| |---…

iosamammohamed
- 317
- 3
- 18
0
votes
1 answer
Menu Item won't turn active after adding NavigationItemSelectedListener
I have a BottomNavigationView.
It works and shows the text title under the item that the user clicked.
However, adding a OnNavigationItemSelectedListener stops the tapped item to show it's title underneath it's icon. It still gets the ripple effect…
user10215819
0
votes
0 answers
Movie recyclerview above keyboard in Android
I have my custom BottomSheetDialogFragment.Inside this dialog I have custom edittext and recyclerview.My goal is to move reyclerview above a keyboard,when it' showing. Here is a my custom edittext code
public class WrappedEditText extends…

BekaKK
- 2,173
- 6
- 42
- 80
0
votes
2 answers
Equally space menu items of BottomNavigationView
I'm using a BottomNavigationView (from now on BNV) to switch between Fragments, but I cannot find an XML attribute or just a way to have all the items (the images) equally spaced so that they fill the entire width in all the devices.
My XML for the…

davide m.
- 452
- 4
- 19
0
votes
1 answer
How to hide bottom navigation bar when keyboard is open in android app development?
I'm creating android app, in that there is bottom navigation bar like youtube and other social media. And there is one textbox in my application, so when i type on textbox keyboard is open and bottom navigation bar is reside over my keyboard. So how…
user8283888
0
votes
1 answer
Bottom navigation view to open new activity
I'm trying to use Bottom Navigation View to open another activity when clicked. For some reason, I'm getting an error on the last line, which should define the click function. I tested it on another project, and it worked perfectly.
Here's the end…

Rve
- 107
- 2
- 9
0
votes
1 answer
how i can change or add shape behind the icon with BottomNavigationViewEx in android studio
I use BottomNavigationViewEx , and i want to do something like this in my Bottom Navigation , I want to change or add shape behind the icon and change position of the center item only .
I tried for position this function …

Abdulellah Hawsawi
- 45
- 1
- 9
0
votes
1 answer
Can't set active item of BottomNavigationView while recreating app
Can't set active item of BottomNavigationView while recreating app: the last selected item is active after recreating app, so BottomNavigationView.setSelectedItemId(R.id.item0) takes no visual effect, but onNavigationItemSelected was called…

Konstantin Konopko
- 5,229
- 4
- 36
- 62