282 questions
1
vote
1
answer
87
views
Flutter: hide persistent_bottom_nav_bar with OpenContainer animation
I am currently using persistent_bottom_nav_bar: 6.2.1 and trying to use OpenContainer to navigate between screens with animation. However, the problem is that when I use PersistentTabView as the main ...
1
vote
2
answers
1k
views
Bottom Navigation Bar in material 3 android jetpack compose
When I want to round corner, I adding shadow to it, I have little border on top of my navigation bottom bar, so my shadow and rounded corner is not looking good, I want to make something like that
...
2
votes
0
answers
36
views
Navigating to a top level destination doesn't save all toplevel states
Problem
There are three navigation graphs in my app as nested navigations : HomeGraph, ProfileGraph and MenuGraph. I want to achieve that when you navigate between these graphs through the ...
1
vote
1
answer
192
views
Kotlin Bottom Navigation bar is not alining to the bottom of the screen
I'm creating a simple app with a navigation bar and everything looks OK in the activity, but, when I run the app, the navigation bar is not alining to the bottom of the screen, it moves up. I tried ...
0
votes
1
answer
235
views
Android: Fragment changes when I change to dark theme
I have an activity that uses bottom navigation for fragments and an options menu to choose the theme. The problem is when I change the theme the fragment changes as well to the first one, not the one ...
0
votes
1
answer
63
views
WARN Require cycle: src\Navigation\StackNavigation.js -> src\Navigation\TabsNavigation.js -> src\Navigation\StackNavigation.js
WARN Require cycle: src\Navigation\StackNavigation.js -> src\Navigation\TabsNavigation.js -> src\Navigation\StackNavigation.jsRequire cycles are allowed, but can result in uninitialized values. ...
0
votes
1
answer
564
views
How to make my Tabbar transparent in MAUI App
I have used a customShellHandler to make a tabBar in my home screen placed bottom of my screen. Since I used margin and radius, the background of tab show as white. I wanted to make it transparent to ...
1
vote
1
answer
80
views
How to change label of fragment toolbar while using fragment manager with bottom navigation component
I got 3 fragments and 1 activity. MainActivity, CameraFragment, HomeFragment, HistoryFragment
I just want to save all HistoryFragment states so whenever user access it, it won't recreated again.
...
0
votes
0
answers
53
views
Reselecting a tab on bottom navigation clearing stack while using navigation component
Have 4 fragments A,B,C,D in my bottom navigation setup with navigation component with A fragment as home destination , when I navigate from A to another fragment say fragment E with findNavController(...
2
votes
2
answers
965
views
BottomSheetScaffold doesn't stick to the top of BottomNavigation when expanded
I am trying to use BottomSheetScaffold but for some weird reason when I use it on a screen with bottom navigation and expand the bottomSheet the bottom side of it moves a little bit to the top, but ...
0
votes
1
answer
523
views
How to create Custom BottomNavigationBar similar to NavigationRail but horizontally in Jetpack Compose
I am trying to create a custom bottom navigation bar which looks similar to a Windows 7 bottom app bar or task bar. Something similar to navigation-rail but its horizontal.
All the bottom navigation ...
0
votes
1
answer
283
views
Multiple versions of BottomNavigationView
I would like to have two versions of the BottomNavigationView, each with its own set of tabs. Some are shared, some not. For example, Version 1 has Fragment A, B, C, D on the bottom, version two has ...
1
vote
0
answers
33
views
Android Java Save State Between Fragments
I would like to ask how I am going to save the state between the fragments while using bottom navigation. For example, if I am on "HomeFragment" and I go inside it with a "...
1
vote
1
answer
1k
views
How to handle bottom navigation button click 2-nd time at inner screen using compose navigation
I have an app, which represent a screen with bottom bar with 4 tabs. I use compose navigation with bottom bar. When user clicks on the bar the screen appears. How can I handle the situation when user ...
0
votes
0
answers
164
views
how to make icons of bottom navigation bar transparent?
I am working on an android app where I have to take icons of bottom navigation bar transparent without any tint layer. How can I do that?
I have tried @android:itemIconTint="@color/tranparent&...
0
votes
1
answer
64
views
Android : Switching Bottom bar navigation
I am currently building an app with admin and user. I've used the template bottom navigation menu method. I've created two versions of the menu for admin and user. How will I be able to switch these ...
6
votes
0
answers
3k
views
How add FAB to bottom navigation bar with Compose in Material3?
Every tutorial or example of what I want to achieve uses isFloatingActionButtonDocked = true in a Scaffold. This is not present in Material3 Scaffold and I presume its part of what achieves the the ...
0
votes
2
answers
554
views
How to set in Android to be navigated to the same fragment every time from the bottom navigation bar?
I have 4 fragments: A, B, C and X.
A, B and C are found on the bottom navigation bar, so every time I click on item A, I get the A fragment on the screen, click on B, I get B.
When I click on C, I get ...
0
votes
1
answer
61
views
Why the bottom spacing is not working in small screens in angular application after deployment
I have deployed my angular application successfully. But the problem is it is working fine for all devices except mobile.
When it comes to mobile devices the bottom spacing is not applied for chrome, ...
0
votes
0
answers
390
views
Android Bottom Navigation Fragment androidx.navigation.fragment.NavHostFragment did not create a view
I am using android Bottom Navigation and gettimg this crash
Caused by java.lang.IllegalStateException Fragment androidx.navigation.fragment.NavHostFragment did not create a view.
Here is my setup ...
4
votes
1
answer
2k
views
Change size of only one icon of bottom navigation view (Android)
I want to change the size of only ONE icon (3rd icon) out of the 5 icons I have used in my bottom navigation view.
I want The Center icon big like:
This is what I have tried:
private fun ...
1
vote
1
answer
499
views
Do action when holding a button from bottom navigation bar
I wanted to enter a settings page when I hold down the home button on the bottom navigation bar. I looked for how to get the id of a button in the bottom navigation but couldn't find anything.
Do you ...
0
votes
1
answer
294
views
BottomNavigationView switching between activities - solutions appear deprecated?
I am using a BottomNavigationBar and as per recent blogs and research, it seems the best way to flick between activities using this bar is to use the setInNavigationItemSelectedListener.
The issue is -...
0
votes
1
answer
1k
views
BottomNavigation customization
Good afternoon
I'm new to Jetpack Compose and I'm having some difficulties customizing BottomNavigation as I need. My current result is this:
Current result
And I want this be like this:
Expected ...
0
votes
1
answer
261
views
For BottomNavigation the selected Item is not highlighted in android
I have bottomNavigation in my android app as shown below in picture. It works fine if I just click on home, cart and other bottomNavigation Items.
As you can see in picture that user can navigate to ...