Questions tagged [android-bottomnavigationview]

130 questions
0
votes
1 answer

Android ReselectedListener for NavigationView

In BottomNavigationView it is possible to set: bottomNavigationView.setOnNavigationItemReselectedListener(item -> { // do nothing on reselection }); However for NavigationView this is not available. What is a good…
0
votes
1 answer

Android bottom navigation view show text on the side of the icon

I would like to show bottom bar text on the right side of the icon like City Mapper. I've currently implemented my first version using Android default component This question was asked here but no solution was found and it has been commented it's…
Daniela
  • 861
  • 5
  • 11
  • 28
0
votes
1 answer

How to add a button to a BottomNavigationView

I'm wondering how to add a button to a BottomNavigationView, I include it inside the BottomNavigationView. But it was a work around. I want to know how to do it correctly? I'm looking to add a button in the middle of the BottomNavigationView if…
0
votes
2 answers

Removal of Badge from BottomNavigationView when using navigation component

I am using the material design BottomNavigationView component and the fragment transition using Navigation Components. The issue which I am facing currently is that I cannot able to remove/hide the badges. When we using navigationComponent i cant…
0
votes
1 answer

How to remove BarItemColor & SelectedBarItemColor in TabbedPage-BottomNavigation Bar in Xamarin.Forms- Android?

I have changed the Xamarin.Forms TabbedPage's BottomNavigation Bar's (android) Selected Tab's icon with a CustomRenderer to a multi colored version of the icon that appears when not selected. But because of there is a default SelectedBarItemColor…
0
votes
2 answers

Android BottomNavigationView partially hides last item in RecyclerView

My current Android application employs com.google.android.material.bottomnavigation.BottomNavigationView with app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior" The view content is a androidx.recyclerview.widget.RecyclerView I have…
Hector
  • 4,016
  • 21
  • 112
  • 211
0
votes
1 answer

android - Implement DrawerLayout with BottomNavigationView and FrameLayout

Im currently creating an app, which has a BottomNavigationView and a FrameLayout for fragments. I would like to implement a DrawerLayout or Hamburger Menu too, however, as said in this video A DrawerLayout should only contain two views, one for the…
0
votes
2 answers

Hide bottom tab bar in tabbed page in Android with Xamarin.Forms

I created a tabbed page and set the navigation bar to the bottom. Now I need to hide the Navigation Bar on a specific page. For iOS I used this Renderer: here, but I couldn't found a similar solution for Android. I tried it with this: public…
0
votes
1 answer

navigation menu icon color and text is not getting changed in android

In my cdoe in manin activity xml I am using "android.support.design.widget.BottomNavigationView" here I am displaying some menu icon in footer .On selection of each icon I am navigating to different screen . Now I have to change the background of…
Abhigyan Gaurav
  • 1,854
  • 6
  • 28
  • 58
0
votes
2 answers

change automatically select for bottonavigation selected

I'm working on this code private void setupViews(){ frameLayout = (FrameLayout) findViewById(R.id.frame_id); bottomNavigationView = (BottomNavigationView) findViewById(R.id.bottom_nav_id); …
0
votes
0 answers

Android E/FragmentManager: No view found for id 0x7f090030

I'm having some problem making fragments show up in screen when i select them in the bottom bar. Here is some context: MainActivity.java package com.pkg.android; import android.os.Bundle; import android.view.MenuItem; import…
0
votes
1 answer

BottomNavigationView with Fragment inside Fragment

I've got some problems understanding Fragments in Android. The bottom navigation of my MainActivity has got three items: FragmentA, FragmentB, FragmentC. FragmentC has got a button. When the user clicks that button, another FragmentD should display…
user10981072
0
votes
2 answers

BottomNavigation popBackStack() navigates to startDestination instead previous fragment

I have a problem when using BottomNavigation + Navigation components. Basically when navigates to fragment via bottom navigation, popBackStack() brings the app to the startDestination instead previous fragment. class HomeFragment { ... …
0
votes
1 answer

android - Error inflating class android.support.design.internal.BottomNavigationView

There is a very similar question that was posed here about 2 years ago but trying that solution has not helped. For me it is throwing an error when setting the content view: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.name.app, PID:…
0
votes
1 answer

Weird behaviour using MaterialComponents and BottomNavigationView. Android

I am using BottomNavigationView from material design library and everything seems to be ok. I need to use new badges so I have upgrade it to version 'com.google.android.material:material:1.1.0' But I don't know why changing the version draws like…
Pablo R.
  • 711
  • 2
  • 10
  • 31
1 2 3
8
9