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
2 answers

Bottom navigation bar to magnify selected item

I want to create a bottom navigation bar in my Android project. Here are 5 items(just items icons. No name of any item) in the navigation bar. I want to make it in a way so that when an item is selected it is magnified a little along with showing…
Zubayr
  • 457
  • 4
  • 18
1
vote
1 answer

Bottom Navigation Bar not showing icons or text

I'm having a little bit of trouble trying to implement a Bottom Navigation Bar with icons and text in my Android application. The bar currently functions as expected and takes you to the desired fragment but isn't showing icons or text for some…
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…
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…
1
vote
1 answer

Can I disable shifting in specific BottomNavigationView item on specific logic?

Currently I have an implementation like this- mBottomNav.setOnNavigationItemSelectedListener( ...... switch (item.getItemId()) { case R.id.actionUser: if(userLoggedIn) { …
Farwa
  • 6,156
  • 8
  • 31
  • 46
1
vote
1 answer

Empty Space below the bottom bar in android

Hi Guys In my project trying to implement Bottom Navigation with navigation drawer but after implementation, getting some empty space below bottom bar any one idea on this, i struck here. help me for Bottom Navigation i am using…
NareshRavva
  • 823
  • 3
  • 21
  • 50
1
vote
1 answer

Elevation issue when coloring BottomNavigationView

I want to implement colored BottomNavigationView with elevation (current design lib version 25.2.0, test device 7.1.2). Some code for start:
snachmsm
  • 17,866
  • 3
  • 32
  • 74
1
vote
2 answers

How do I switch the Activity with the bottomnavigation bar

I created a new project with the bottom-bar activity. This is the generated code: package com.aaron.waller.mrpolitik; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import…
HavanaSun
  • 446
  • 3
  • 12
  • 39
1
vote
0 answers

How to fix can not resolve symbol OnMenuTabClickListener

I am creating a BottomBar menu, but i'm getting an error on OnMenuTabClickListener when i try to import com.roughike.bottombar.OnMenuTabClickListener, which says that OnMenuTabClickListener 'cannot resolve the symbol'. Another error is in the…
user3518835
  • 107
  • 1
  • 3
  • 10
1
vote
3 answers

Bottom Navigation bar for android application (NativeScript)

I am trying to create a navigation bar at the bottom of my android application. I am using NativeScript for creating the application. Is there any plugin to do this?
1
vote
3 answers

Bottom navigation bar hides on trying scroll

I have Activity with bottom navigation bar (via roughike BottomBar library). It's look like this: When i'm trying to scroll page, bottom bar hides automatically. So, I get this: I want avoid this effect. I do not want hide bottom bar when I'm just…
Danil Prokhorenko
  • 1,052
  • 1
  • 10
  • 26
1
vote
2 answers

Manually switch Android BottomNavigationView

Is there a simple way to manually switch between items of a BottomNavigationView? I couldn't find any relevant method in the source code.
2hamed
  • 8,719
  • 13
  • 69
  • 112
0
votes
0 answers

how to use navigation component nav controller with Droppers/AnimatedBottomBar libray?

I am trying to use Droppers/AnimatedBottomBar text but I am not able to use nav Controller with this libray as they have mentioned the support of Nav Controller but I do not know how to do it. Here is my .XML file
0
votes
0 answers

How to remove TaskBar/Navigation Bar when Modal popup appears?

Does anyone have any approach or known solution?? Taskbar do not appear when user is at home screen Taskbar appears when modal popup is opening Platform: Android Using: ReactNative OS: 13 Android version Rest are normal as all android system…
0
votes
1 answer

Disable item selection in bottom nav bar

Okay so my case is that for certain scenarios, one or multiple items in the bottom nav bar would have the following behaviour: The click for the item will show a popup the popup can be cancelled the clicked item will not navigate the user…
Ammar Ahsan
  • 83
  • 1
  • 9