Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
94 views

Worm indicator not drawn properly in custom Bottom Navigation Bar

I'm trying to add a worm indicator below bottom bar item using item offset but its not drawn properly. Not able to figure out what calculations are wrong! Current Result: Required Result: Here is ...
Megh Lath's user avatar
  • 1,555
5 votes
3 answers
3k views

How to hide bottom navigation bar while scrolling down and show it while scrolling up in jetpack compose?

I'm creating a simple app with bottom navigation bar. I want to hide bottom navigation bar while scrolling down and show it while scrolling up in a composable screen. Any help would be appreciated. ...
Mohammed Ziyad's user avatar
0 votes
0 answers
320 views

Android Jetpack Navigation BottomNavigationView and Login Screen

hope everybody is doing great, I came across an issue while using the Navigation Component from Jetpack. Here's what I want to achieve: I have a LoginScreen where the users will input their ...
Boni's user avatar
  • 103
0 votes
2 answers
901 views

Nav Graph with Bottom Nav View along with other fragments

I have a bottom navigation view with 5 tabs. I am using Nav Graph and linked the bottom nav view with the navigation graph. My requirement is to have three out of the five tabs to work with Nav Graph ...
Farooq Arshed's user avatar
2 votes
1 answer
1k views

toolbar blinks when switch between bottom nav fragments

【update】 Actually it's easy to reproduce the issue by just disabling the default ActionBar and adding Toolbar per fragment. Then you can see the toolbar blinks when switching bottom destinations. ...
g g's user avatar
  • 107
0 votes
1 answer
944 views

BottomNavigation Menu with Jetpack Navigation does not navigate

I have a strange problem regarding a BottomNavigationBar which I could not solve altough having spent a huge amount of time into it. When I use it in the 'recommended' way (from many tutorials) it ...
VanessaF's user avatar
  • 750
6 votes
2 answers
1k views

Android Studio "Bottom Navigation Activity" template leaves blank area on the top

I created new Android project by selecting “Bottom Navigation Activity”. No other change. Only modify “fragment_notifications.xml” by adding background attribute to set background to black. My ...
g g's user avatar
  • 107
1 vote
0 answers
14 views

Is it possible to use the same graph for two activities with Navigation Jetpack?

I want to migrate my app in order to use a Navigation Jetpack component. I have a bottom navigation with 4 items. Each item is an activity. Could I use the same graph to share it between these ...
PMonroy's user avatar
  • 11
0 votes
2 answers
527 views

BottomNavigation Menu with Jetpack Navigation causes problems in Android

I try to implement a BottomNavigationMenu in my app using the Jetpack navigation. I followed each step of this tutorial https://www.youtube.com/watch?v=pT_4rV3gO78 but unfortunately I could not ...
VanessaF's user avatar
  • 750
0 votes
1 answer
327 views

Android jetpack navigation: navigate from activity(splashscreen) to activity

I'm developing an app still in its early stages. I'm learning jetpack navigation as it goes. In short, I need to create a splashscreen, it would do its stuff (initializing etc..) then navigate to the ...
jack_the_beast's user avatar
3 votes
2 answers
802 views

Dynamically change fragment destination in bottom navigation

I'm using bottom navigation with navigation component architecture. I want to change the first fragment destination dynamically. so I have Fragment1 and Fragment2. I want in some conditions, clicking ...
SinaMN75's user avatar
  • 7,295
1 vote
1 answer
2k views

How to setup Multiple nested FragmentContainerViews with respective navigation graphs?

I was looking into converting my app to single activity as per google's guidelines. (Using Kotlin) Let's say i have FragmentContainerView1 in my activity with no toolbar or anything else. This view ...
CyberShark's user avatar
0 votes
1 answer
370 views

Android Jetpack Navigation navController problems

Cant understanding why it's not working... another analog project bnv working correctly... in-app app:startDestination="@+id/navigate_hot" work correctly, but on click bnv items - nothing happens ...
Ilia Minae's user avatar
2 votes
3 answers
3k views

How to change Bottom Navigation Text appearance in right side of the icon

I want to create a Bottom Navigation Bar in which text should be aligned right side of the icon. default implementation displays the text below the icon. XML: <com.google.android.material....
Rajendra's user avatar
  • 494
0 votes
2 answers
863 views

Android Jetpack BottomNavigationView how to apply custom Fragment Transition

I want to add new fragment transition when BottomNavigationView change its current fragment. I want to enter the next fragment from left to right. I don't see this for Jetpack BottomNavigationView to ...
Dehan Wjiesekara's user avatar

15 30 50 per page