bottomnavigationview Questions

11

Solved

I'm trying to use the new navigation component. I use a BottomNavigationView with the navController : NavigationUI.setupWithNavController(bottomNavigation, navController) But when I'm switching fra...
Oleaceous asked 23/5, 2018 at 10:28

14

Solved

Android Jetpack Navigation, BottomNavigationView with auto fragment back stack on back button click? What I wanted, after choosing multiple tabs one after another by user and user click on back bu...

2

Solved

I have been combining the new(ish) Material BottomAppBar with a standard BottomNavigationView. My xml is like this: <com.google.android.material.bottomappbar.BottomAppBar android:id="@+id/bot...

5

Im trying to achieve the above design. I'm able to change the icons, but cannot change the bottom text. Im using material bottom navigation bar I achieved the icon change by implementing separa...

11

Solved

I have to hide bottom navigation view on up scroll and show on down scroll .how to implement this? my layout is like this <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:an...

24

Solved

I am using the new android.support.design.widget.BottomNavigationView from the support library. How can I set the current selection from code? I realized, that the selection is changed back to the ...
Recurrence asked 23/10, 2016 at 11:17

7

Solved

I have been experimenting with the new BottomNavigationView and trying to customise it. So far I have managed to change the height and margins by using the below: <dimen name="design_bottom_na...
Brake asked 7/1, 2017 at 0:38

3

Solved

I'm using the bottom navigation bar with the navigation component To make the two components work together I called: bottomNavigationView.setupWithNavController(navController) Everything works as ...
Keefer asked 18/3, 2022 at 10:16

10

Solved

I'm adding the new Bottom Navigation View from the material design library to a project, and I would like to have no pre selected item by default. For now first item is selected by default. I h...
Vullo asked 12/6, 2017 at 11:39

8

Solved

I copied the NavigationExtensions.kt extension file from the NavigationAdvancedSample and I get this exception:
Mafaldamafeking asked 4/5, 2020 at 14:28

4

I am trying to implement a persistent BottomSheet, my layout that is expected to be a BottomSheet is already a child of CoordinatorLayout but i don't know why i'm getting this Exception. this is m...
Unamuno asked 31/3, 2018 at 16:36

3

Solved

I need help to combine ViewPager and BottomNavigationView. But when I swipe the screen as ViewPager works, the fragment become stacked with another fragment. How do I fix this? Stacked fragment ...

5

So I have a scenario in which I have 5 fragments attached with bottom navigation. 1. Home 2. Inbox 3. Search 4. Notification 5. Profile So I have another fragment called (BarcodeDetail) to which I ...
Archducal asked 13/1, 2022 at 21:46

4

Solved

is it possible to set top border for bottom navigation bar in android, if possible tell me how we can do this, i am using the new bottom navigation view of android. Here is my code <?xml ver...
Bootleg asked 27/3, 2017 at 6:21

2

How to change the vertical space between icon and text in BottomNavigation programmatically? The only way I found is to modify dimens.xml: <dimen name="design_bottom_navigation_height"...
Arrio asked 22/6, 2020 at 19:53

6

In My Bottom navigation bar, I am using an icon in the menu XML, the icon color changed with the theme color when selected. after the tab click the icon totally change I am totally stuck why this ...
Mourn asked 2/3, 2020 at 10:39

6

I have bottom navigation bar on click of item in navigation bar i am replacing fragments. I have 3 fragments A,B,C so on click of b item B fragment is loaded and in B i am calling 3-4 APIs. So now ...

2

Solved

I need to implement a Bottom Navigation View in my android app. The middle icon needs to be an image, the company logo. But when I run the app it appears only a grey filled rounded icon. The images...
Radiomicrometer asked 9/9, 2019 at 21:12

6

Solved

Using the newest Navigation Component with the BottomNavigationView, the NavController now saves and restores the states of tabs by default: As part of this change, the NavigationUI methods of onN...

6

Solved

When I select an item in bottom navigation bar in android studio, background item selected is equal to primarycolor in values->colors.xml . and now I want to change this color which is not to same ...
Kohinoor asked 29/7, 2018 at 11:41

4

My app has an activity that hosts 3 fragments. These fragments can be navigated by tapping on the bottom navigation views. It works quite fine only that when I tried tapping on the bottom navigatio...

7

The Flutter Gallery example of BottomNavigationBar uses a Stack of FadeTransitions in the body of the Scaffold. I feel it would be cleaner (and easier to animate) if we could switch pages by using...
Anchylose asked 21/7, 2017 at 10:40

4

The Goal: 1) Make the status bar transparent - Done 2) Make the BottomNavigationView and the Navbar the same color. - Almost Done The Problem By adding the following code in my Activity, the st...

2

In my application I want show BottomNavigation bottom of CoordinatorLayout and for this I write below code : <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.Coordin...

4

I am using the last navigation library (version 2.4.0) which include multiple backstacks with a bottom navigation view. The default behavior is that each backstack is saved when user go back to a t...

© 2022 - 2024 — McMap. All rights reserved.