Questions tagged [android-bottomnavigationview]

130 questions
0
votes
0 answers

Android BottomNavigationView slide animation on fragment change

I am trying to achieve this BottomNavigationView behavior in Android: (Example is from iOS) My current app layout is: |- ConstraintLayout |- MaterialToolbar (gets hidden for some fragments) |- FragmentContainerView (here, the fragments for…
0
votes
0 answers

How to save UI state when using JetPack Navigation with BottomNavigationView

I just created new Android Bottom Navigation application by Android Studio template and add a button to do as bellow: Button click => set button visibility = gone And I having a problem that after click on 2nd tab then back to first tab, the button…
0
votes
0 answers

When i select first bottomnavigation menu item it select second menuitem

After Anything order I move to My Order bottom navigation menu then I select Home it selects My Order again not open home screen BottomNavigation Image
0
votes
0 answers

How to move Bottom Navigation View above phone keypad in Android?

I am using com.google.android.material.bottomnavigation.BottomNavigationView My problem is as follows, in Android 12 version, the gray buttons I marked with red in the picture above are the phone's "Home, Back, Recent Apps" keypad. My Bnv is…
0
votes
3 answers

navController.navigate(R.id.tab_dashboard) messes up with bottom taps. Normal click on bottom tabs stop working

Facing an issue where using navController.navigate(R.id.tab_dashboard) to dynamically switch to a bottom navigation tab messes up with bottom navigation. Attached a video to explain the issue. Video link:…
0
votes
0 answers

How to manage backstacks in bottom navigation view kotlin

I am facing the issue like i created bottom navigation view fragments like homeFragment , listFragment, taskFragment and profileFragment and i add some button ,view, image in listFragment once we click the view or any button in listFragment i want…
0
votes
0 answers

NavGraph animations not working with bottom navigation view

I have a simple NavGraph and I'm trying to add some animations. The animations work when using findNavController().navigate(action) but not with the bottomnavigation view. I have tried with different variations of animations in the actions but…
0
votes
0 answers

Android - Jetpack Navigation with Bottom Navigation bug

I want to create a single app activty app using Material 3 Bottom Navigation (BN) and Jetpack Navigation. Everything works fine, until one of my fragments set by the BN navigateS to another fragment. When that happens, if I change my fragment via BN…
0
votes
1 answer

Android 12 Splash Screen Exit Animation adds extra space at the bottom of the screen below the BottomNavigationView

When the exit animation of the Android 12 Splash Screen ends it adds some extra space below the BottomNavigationView as shown in the screenshots below While the Splash Screen's exit animation is running When the Splash Screen's exit animation is…
0
votes
0 answers

Show tooltip with skip and finish button

I want to show tooltip window with two buttons skip and next on Appbar layout-tabs and BottomNavigation-menuitems. tooltip window should be displayed on semitransparent overlay. Background of the semitransparent overlay is Appbar layout-tabs and…
0
votes
0 answers

Bottom navigation does not show icon and text

I created a bottom navigation in main activity and does not show menu icon or text I use the material library version 1.7.0 I changed the version to 1.6.1 and 1.5, but there was still a problem I invalidate caches and the problem was not solved I…
0
votes
0 answers

Not called navigation's destination via BottomNavigationView after invoking navController.navigate()

I have an activity and 2 fragments bound to a navigation system. So, I have 2 destinations. If I switch destinations via the BottomNavigationView-menu - it works fine! But if I call navController.navigate(destination2) from destination1 I can't…
0
votes
1 answer

AppBar with Fragments and Bottom Navigation Bar

Not sure if I'm fighting an uphill battle but I'm currently struggling with AppBar, Fragments and Bottom Navigation Bars. I have a MainActivity that's a list view with an AppBar. It's created as a fragment with the intention to add another bottom…
0
votes
1 answer

when i put bottomnavigationview android studio | The design screen appears blank

when i put bottomnavigationview android studio | The design screen appears blank activity_main.xml
0
votes
0 answers

TabLayout state is lost after navigating to other pages in navigation controller android

I am facing an issue with the navigation controller where I have a ViewPager2 inside one of the fragments of the navigation controller, and when I navigation to the page the first time, it's working perfectly, but whenever I try to navigate to the…
1 2 3
8 9