Questions tagged [android-bottomnav]

Bottom navigation bars display three to five destinations at the bottom of a screen.

Bottom navigation bars display three to five destinations at the bottom of a screen. Each destination is represented by an icon and an optional text label. When a bottom navigation icon is tapped, the user is taken to the top-level navigation destination associated with that icon.

270 questions
0
votes
1 answer

Syncing drawer items and bottom navigation bar items

I have created a bottom navigation bar and a drawer in my flutter app. I managed to show the same screen when user clicks on a bottom navigation bar item or a drawer item which both have the same purpose or target screen. But I notice that when user…
shellking4
  • 109
  • 3
  • 12
0
votes
1 answer

Android - Navigation Component with multiple menus for Bottom Navigation

I have an Android app (Java) which uses the Navigation Component to set up a Bottom Navigation. The app consists of a single Activity (Main), everything else is loaded in fragments. The idea is for the Splash Screen to launch and check if the user…
0
votes
1 answer

Hiding bottom navigation view on Android

I'm developing an Android app that follows the single activity pattern. In one of my fragments I have a RecyclerView and in the case where the user scrolls down I want to hide my BottomNavigationView. I have already seen other posts about this…
0
votes
1 answer

Remove small layer between bottom navigation and Floating action button?

I added Bottom navigation with centered Floating Action button but there is small layer that behinds the bottom navigation and floating action button. How can i Remove small layer between bottom navigation and Floating action button? this is my…
FGH
  • 2,900
  • 6
  • 26
  • 59
0
votes
1 answer

BottomNavigationView does not follow layout heirarchy

I am having a bottom navigation view and I would want to hide it by showing a dummy view on top of it. In the relative layout, I am placing the dummy view on top of the bottom navigation view. But always the bottom navigation view shows on top. Why…
0
votes
0 answers

How to delete iconTint in bottom nav menu

I am making my app. I used preset from Android Studio with 3 items in bottom nav menu. Then I modified it for 5 items, add new fragments and so on. Also I downloaded my icons and add selectors to change icon of active item. But there is a problem. I…
0
votes
0 answers

I have created bottom menu bar with fragments, I cannot access the components(buttons, etc..) of the fragments using ViewBinding from MainActivity.kt

I have created a bottom menu bar using material , with five fragments. I have created xml file of each fragment along with their kt files. Also I have applied View Binding but the issue is when I use binding to refer to my buttons or text views from…
0
votes
1 answer

Bottom Navigation element shifts position when typing

I'm facing a weird issue where my bottom navigation jumps to be above the keyboard when typing. This is only done when I'm setting a view that is next to the edittext, as shown in the screenshot, from 'View.GONE' to 'View.VISIBLE'
Devin S
  • 135
  • 1
  • 12
0
votes
0 answers

How do i put a tabbed layout in my bottom navigation view?

Ive tried using view pager code below but code crashes. I essentially need a tabbed activity in 5 of the bottom navigation. Can you also tell me how i would use the tabbed layout code in the fragments. Thankyou public class client_interface_start…
0
votes
1 answer

Half of bottom nav bar is hidden with Android but not iOS (React-Native)

I'm new to react-native and am trying to render a bottom nav bar. I've noticed that the components don't render how I want them to on Android because of the way that the native navigation buttons (back, home, menu(?)) are 'on screen' for some…
Gero
  • 31
  • 5
0
votes
2 answers

String resources for different languages not working in BottomNavigationBar

I use a One-Activity-Multiple-Fragments approach for my app and I have a BottomNavigationBar that is embeded in the XML layout file of the one activity. Further I have a Fragment for language selection (FR_LanguageSelection). Basically the language…
VanessaF
  • 515
  • 11
  • 36
0
votes
1 answer

How to go back to the last fragment in Android using a BottomNavigationBar

I use a One-Activity-Multiple-Fragments approach and the JetPackNavigation with a NavGraph. I have added a BottomNavigationBar to navigate to 2 Fragments which works as it should. Now I want to put a backbuttom into the BottomNavigationBar with the…
0
votes
2 answers

I have been working to achieve bottom navigation with color change in menu when clicked

Trying to achieve color change in menu when clicked buttom navigation items. here is my xml code
0
votes
2 answers

NullPointerException Error while trying to create navHostFragment

I am trying to make my Bottom Navigation Bar clickable so that it actually redirects me to the correct page, however the app doesn't even start. It crashes before I can even click anything. The thing is, I don't even know what the error is. The…
0
votes
2 answers

How to avoid only BottomNavbar to pushed up when soft keyboard appears

I have a view like this in my android app There is a mainActivity which has that bottomNavBar and there is fragment inside activity which has two buttons at bottom. What I am supposed to do is that when soft keyboard appears bottomNavBar should…
Zohab Ali
  • 8,426
  • 4
  • 55
  • 63