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
1
vote
1 answer

Bottom Navigation - Make one of the items open a BottomSheet

I just want to have my "More" menu point open a BottomSheet: I'm using the new Android navigation component with a navigation graph, but I can't figure out where I could override the behavior. My menu.xml looks like this:
Big_Chair
  • 2,781
  • 3
  • 31
  • 58
1
vote
1 answer

Xamarin.Forms disable Shell TabBar font scale when selected

Is there any way to disable behavior of tab bar scaling font size for selected items on Android? It cuts off titles when selected which is very annoying. I could not find TabBar renderer kind of thing to change behavior on Android side. The last…
mister_giga
  • 560
  • 1
  • 15
  • 37
1
vote
0 answers

How to give Backward Slide Animation to Fragments with Bottom Navigation Bar in Android

I have a Bottom Navigation Bar Activity with changing fragments. i have done forward slide animation on fragments using 'setCustomAnimations' function but i want backward slide animations it has the same animation as for forward animation. i am…
1
vote
1 answer

How to pass data between Bottom Navigation fragments (or Navigation Drawer)?

I have a situation, I´m not good enough in android dev to implement a way to pass data between Bottom Navigation destinations. I would need to get text from EditText from CreateFragment to a RecipesFragment, where I would add a new item in the…
1
vote
2 answers

How to make Bottom Navigation Bar visible on every page of my app in flutter?

Please, anyone, tell me how can I make Bottom Navigation Bar visible on every page of my app in flutter? I know there's an option called Custom Navigator (https://pub.dev/packages/custom_navigator), but how to use this for more than 2 subpages?…
IMANUL SIDDIQUE
  • 133
  • 1
  • 8
1
vote
1 answer

How to set up a margin for navbar icon?

I am using BottomNavigationview and I want to animate the height of it, so it is extendable. My problem is that the Items stay centered vertically, but they should have a fix top-margin of e.g. 5dp. How is it possible to move them up with the top of…
Malmatth
  • 197
  • 2
  • 12
1
vote
6 answers

Bottom Navigation Not showing original color

I have designed a bottom navigation view for my application. The idea is simple, green colored bottom bar will have white colored icons. I wrote a selector for this
1
vote
3 answers

KOTLIN - First item in BottomNavigationBar isn't visible, title issues

I have a BottomNavigationBar with 5 items. The first item is the same as the rest, apart from the name and icon. Here is the xml for the bottom_nav menu
1
vote
2 answers

How to hide tooltips on menuItem's in BottomNavigationView?

How to hide tooltips on menuItem's in BottomNavigationView ? Now i can't get how to control this behaviour. I'm already tried something like this: for (item in vBottomNavigation.children) { TooltipCompat.setTooltipText(item, null) …
1
vote
0 answers

BottomNavigationBar goes down partially when I change fragments

I use BottomNavigationBar(bnb) with Navigation(android jetpack). It's a single-activity app. There are 3 fragments. One of them is starting. When I perform the navigation from starting fragment to any outher, bnb goes down for half of it hight. When…
1
vote
1 answer

NavigationDrawerActivity with BottomNavigationActivity

I am trying to use NavigationDrawerActivity with a BottomNavigationActivity. I have implemented NavigationDrawerActivity(Separate) first and saved BottomNavigationActivity(Separate) in HomeActivity but a black screen comes out while running app,…
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…
1
vote
1 answer

BottomNavigationView does not hide on scroll - NestedScrollView in viewpager

I have bottom navigation bar and viewpager inside coordinator layout, every fragment inside viewpager has own collapsing toolbars, but app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior" doesn't work for me. Also I don't want to do…
1
vote
0 answers

How to change Android bottom navigation bar on website?-

I can change TOP navigation bar for Android devices with this code on my website: function address_mobile_address_bar() { $color = "black"; // Chrome, Firefox OS, Opera and Vivaldi echo '
1
vote
2 answers

Combine FAB in the Bottom Navigation View

I am currently working with Fab and BottomNavigationView. What i want is to combine the two together like this This is the code I tried which doesn't look as nearly as nice