Questions tagged [android-bottomnavigationview]

130 questions
34
votes
7 answers

How to change android jetpack compose bottomAppBar icon tint color?

BottomNavigationBar() can only take the background and contentColor but there is no option for tint color.
10
votes
4 answers

BottomNavigationBar title not showing in Flutter

Why the bottom navigation bar title not showing ? It suppose to show below the icon class FlutterProject extends StatefulWidget { final String title = "Flutter Bottom Tab demo"; @override GoalsListState createState() { return…
Tony
  • 2,515
  • 14
  • 38
  • 71
8
votes
1 answer

Native Android -> How to create custom curved bottom navigation

So this is the navigation my designer made for our project. Height of the bottom navigation is 70dp. What I have tried so far. First I downloaded a vector drawable background from design and set it as background for…
8
votes
3 answers

Is there a way to add rounded corners to an android Material View bottom navigation?

I am trying to add rounded corners to my bottom navigation and i have tried changing widths and heights but its not working. I am using Relative layout with width set to 'fill_parent' and height set to 'warp_content' I have two icons login and…
6
votes
2 answers

BottomNavigation BadgeDrawable set displayed number in a specific Locale irrespective of selected one

The project supports RTL; Arabic in particular. The requirement is that all numbers must appear in English format even when language is selected as Arabic Locale, the way we achieve it everywhere is usually the following code in case of…
5
votes
3 answers

com.google.android.material.R Cannot resolve symbol 'R' for BottomNavigationView

I use BottomNavigationView in my App, but I have a problem: in BottomNavigationView.java there is import com.google.android.material.R and R is red and write "Cannot resolve symbol 'R'". The topics I saw couldn't help me. What would you recommend…
Salendor
  • 51
  • 1
  • 4
4
votes
3 answers

Change the icon color in a BottomNavigationView

I want to change the color of the drawables used in a BottomNavigationView but the changes I've made don't seem to make a difference. I've tried to use the android:iconTint in the menu resource and changed the color in the vector XML file but…
Amine Ch 99
  • 145
  • 3
  • 14
4
votes
3 answers

ANDROID Navigation Component + BottomNavigationView with backstack

I want use navigation component from jetpack in my app. I could find base examples work of nav component + bottom view navigation,below I showed how I implemented using these examples. But its works uncorrect for me - its recreate fragments when…
4
votes
1 answer

How to handle nested BottomNavigationView with Android Navigation Component?

I'm working with with the Android Navigation Component (currently v2.1.0) and I'm trying to work out how best to handle a child screen needing its own BottomNavigationView, with the MainActivity already having a top level…
3
votes
0 answers

How to customize the Shadow and Ripple Effect of the BottomNavigationView

I want to adjust the "RippleEffect" of the Material's design BottomNavigationView to achieve the following two design requirements the ends of the circle should be blurred-out the circle should not be cut on the edges of the tabbar So far I could…
3
votes
1 answer

Reverting Window Insets on fragment change

I have three fragments. I want to apply a transparent status bar on just one fragment. For that purpose, I am calling the following hide method on the setOnItemSelectedListener method of the bottom navigation bar. Also added an image of what I am…
3
votes
1 answer

Individual Navigation graph for each Bottom navigation view menu item - Android

My application contains a bottom navigation view with 3 menu items in the main activity, each menu item inflates respective navigation graphs in the navigation container view. Each graph has 2 or more fragments connected via actions. The problem…
3
votes
1 answer

how can i keep showing bottom navigation menu title in Android?

I have 5 icons in Bottom Navigation View, and when I click the menu, I can see the menu's title, and if i click another one, the previous one's title gets disappeared. I want to keep showing all the menu's title in XML. How can I do it? this is my…
3
votes
0 answers

Blank space at the bottom when remove bottom navigation bar, and appbar overlay over layout

I made so much research about that but can't find a solution, I can't figure out what's wrong. I'm using the navigation component library, and single activity. When a user log out it take the user to the login the bottom nav is removed it left a…
2
votes
2 answers

Android bottom navigation not changing destination

I was trying to implement a simple bottom navigation view using android's navigation, but I think I'm missing a step. Here's what I did: At first I created four fragments. These fragments contain only a text view. Then I created a navigation graph.…
1
2 3
8 9