Questions tagged [android-bottom-nav-view]
51 questions
3
votes
0 answers
How to show a fragment layout in landscape mode in bottom view fragments?
I am using fragments in android bottom Navigation tabs. I want to show a layout in third navigation tab s fragment to landscape . how is it possible? . One thing I know was, we can fix the activities Rotations in Manifest file.
Please Provide me…

basha
- 587
- 2
- 6
- 25
2
votes
2 answers
BottomNavigationView is not show though layout preview shows
I intended to show BottomBar with three menus (dedicated fragments for each). The BottomBar doesn't show up in the UI, though the same previews perfectly below the fragment. An Android Studio screenshot of HomeActivity is pasted below.
Is there any…

Faisal
- 1,332
- 2
- 13
- 29
2
votes
0 answers
How to fix fragment appearing below bottom navigation activity?
I have a bottom navigation activity inside my main activity which is also my fragment container. And in that bottom navigation activity I have a two linear layouts which contains google maps and below it contains live coordinates.
The problem is…

13375K337
- 41
- 3
2
votes
3 answers
Bottom Navigation Menu onClick icon select
Two problems which I think are related.
Background: I have three bottom navigation items which lead to other layouts and activities; one of which is Home.
From Home, when onClick is performed, selected activity and layout opens up, yet the…

RUSKIED
- 39
- 1
- 2
- 8
2
votes
1 answer
Gradient status bar with BottomNavigationView
In my Application I want to show gradient status bar. Also i have used BottomNavigationView. So issue is when i am doing status bar gradient the bottom navigation bar of android overlaps the BottomNavigationView.
I have tried below solutions :
how…

Annie
- 2,397
- 3
- 18
- 26
2
votes
1 answer
Android Studio Menu Item click not working
So my menu items wont do anything except show the enlarging animation when clicked on. Im trying to open a new activity with them, I have toast attached to one to see if does anything at all and I'm getting nothing. Is this a common…

ValhallaSkies
- 61
- 1
- 12
2
votes
1 answer
Bottom navigation bar overlapping viewpager in CoordinatorLayout Android
I have a recycler view in viewpager but the last row of recycler view is not fully visible (ie partially visible) as the Bottom navigation view is overlapping the viewpager. How can I fix this issue?
activity_main.xml

Ankush Kapoor
- 513
- 1
- 5
- 27
1
vote
1 answer
How to set a RecyclerView height so that a custom tab bar does not hide the list item in Android
I have a recyclerview which should be behind a custom tab bar.
Everything works perfect except for the fact that the list item at the bottom of the view is mostly hidden by the tab bar.
Is there a way that I can "shorten" the height of the…

Learn2Code
- 1,974
- 5
- 24
- 46
1
vote
2 answers
How to make 3 bottom sheet with bottom navigation like google map
I wonder how to make 3 bottom sheet above navigation bottom, when you touch the navigation, the bottom sheet will refresh the layout and change different bottom sheet directly, like this

Faiz Azhar Ristya Nugraha
- 339
- 5
- 10
1
vote
1 answer
How to create bottom Navigation bar like Material.io
I have been trying to configure the bottom navigation bar to looks like the material.io,
I checked https://material.io/develop/android/components/bottom-navigation-view/
and…

NOT_A_PROGRAMMER
- 1,794
- 2
- 20
- 31
1
vote
6 answers
Initialization Method for 'RecyclerView' crashes app when used with fragments
I used a recyclerView on my app to display all files from an external storage. Until I changed it, it worked fine when it was implemented in the "MainActivity.java".
Now, I want my app to have a "BottomNavigationBar"; in order to do that, I use…

Ricochet
- 65
- 1
- 8
1
vote
1 answer
Navigation Component: Passing bundles to destinations via Bottom Navigation
In my application I have a host fragment for a group of views that a user can navigate to via a BottomNavigationView. This BottomNavigationView is connected to my nav controller via setupWithNavController.
My host fragment receives a bundle with…

William Reed
- 1,717
- 1
- 17
- 30
1
vote
0 answers
How to create a bottom navigation view where one view item is always highlighted irrespective it is selected or not
The middle view item is what I need to develop for my app I have tried using a layout with image and textview for item but still doesn't work

Manoj Mohanty
- 372
- 2
- 10
1
vote
1 answer
How to get SelectedItemId of BottomNavigationView in android
I have implemented BottomNavigationView in my app. Everything going easy and perfect but there is one problem i.e. on back press I want to get the currently active tab selected but now selected tab does not change when back press. Fragment changes…

mishti
- 183
- 7
- 20
1
vote
1 answer
Save state of fragment when using bottom navigation
I am using bottom navigation drawer to switch between fragments, the problem is that every time I switch back to a fragment it gets recreated.
How can I save the state of fragment and resume it when switched back to it?
…

Frisky Coder
- 103
- 14