bottomnavigationview Questions

5

Solved

I am trying to show thebottom bar navigation in only a few fragments (i.e hide it for most of my fragments).. I read the official document about this, but it unclear to me, like where do I put the ...

0

I updated the navigation library from 2.3.5 to 2.4.2. After update I started getting this error: java.lang.IllegalArgumentException: No destination with ID XXX is on the NavController's back stack....
Martelli asked 15/6, 2022 at 13:38

2

Solved

I want to change the color of the selected area in the bottom navigation view material 3, but the color does not change in any way. I've tried selector, background, background Tint, and styles. All...

7

As the title says I am not able to remove the action bar present in the bottom navigation bar. I tried different NoAction bar themes but it won't work for some reason. Can someone tell me what am ...
Schlosser asked 26/5, 2018 at 17:47

2

I have BottomNavigationView <android.support.design.widget.BottomNavigationView android:id="@+id/navigation" android:layout_width="match_parent" android:layout_height="wrap_content" android...
Unruly asked 12/2, 2018 at 10:50

17

Solved

I have implemented the bottom navigation view in my app and I have looked every where to display badges on top of the icons like this I was wondering whether this is even possible to implement. Any...
Donny asked 8/3, 2017 at 22:10

5

Solved

I want know how can I change Bottom Navigation View's Icons when user basically selects it and then again replace it with previous icon if user selects different option. Below is my switch case s...
Eckard asked 3/4, 2019 at 13:28

2

I'm exploring the the 'Navigation Architecture Component' concept which introduced in Google I/O 2018 last month. Let say I have an activity with a bottom navigation view and a 'fragment' to host...

2

Solved

After upgrading dependency: 'com.google.android.material:material:x.x.x' from 1.4.0 to 1.5.0, the navigation items text has somehow changed from being anchored below the icon to on top of it: Fro...
Metaphysics asked 16/1, 2022 at 9:17

0

I have an app, one activity, with BottomNavigationView and Fragment: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:and...

4

Solved

I'm trying to add BottomNavigationView to my layout with this library: implementation 'com.google.android.material:material:1.0.0' This is my layout: <androidx.coordinatorlayout.widget.Coord...
Chlorate asked 26/10, 2018 at 15:39

0

I am getting this error while switching to the last fragment of the bottom navigation and because of this the last fragment loads a little bit slow E/FrameEvents: updateAcquireFence: Did not find f...

14

Solved

I would like to make a bottom navigation bar in my project. Every view has it's own fragment. The problem is that every time i click on the button to change the view for example from recents to fav...
Mauritamauritania asked 16/7, 2017 at 16:12

14

Solved

I am trying to set default item on activity created but it isn't working? This is my code: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVie...
Lapsus asked 6/4, 2017 at 5:0

2

Solved

I want to make a Bottom naviation in Android Jetpack compose but in every source I found, The navigation built with compose is normal, flat one Just like This, The point is I could not find a way ...
Henna asked 17/11, 2021 at 13:9

2

I'm trying to make the icons in a bottom navigation view lower. For example, right now they are pressed against the top line like this. How would I make the icon lower? I want them to be center...
Lita asked 1/7, 2017 at 2:1

2

I am using the bottom navigation view for an android app. I have increased the size of my icon, but now the icon runs over the text. Here is what I see: Here is a diagram of the bottom navigatio...
Aquarelle asked 13/4, 2017 at 8:6

6

I have created a BottomNavigationView with three items. One of it was user tab. For the guest tab, there is an image but the TintColor is applying and we can't see that. So how to remove tint c...
Fer asked 23/8, 2018 at 10:5

6

I wanna to set a custom image to "Profile" item in the BottomNavigationView as the user is logged in. I have user's image URL. This is the suggested design
Rus asked 22/10, 2017 at 6:37

1

I want to sent the my profile image in bottom navigation view with glide like this: Glide.with(this) .asBitmap() .load(user.getProfileImageUrl()) .apply(RequestOptions.circleCropTransform()) .i...
Hoarsen asked 26/11, 2020 at 8:26

12

Solved

I have implemented BottomNavigationView and have no idea how to set selection index or MenuItem id (in my case, middle item should be selected by default). I'm afraid there's no such possibility ...

6

Solved

i want to implement behavior on certain condition the bottom view is unable to click, i want to make if bottom view item being click it does not navigate to that item but still stay at the current ...
Division asked 3/10, 2017 at 8:4

1

Solved

I am implementing the MVVM in fragments using the bottom navigation with firebase. But it's not working in my case. I searched for many solutions but didn't solve my problem. I implemented viewMode...
Mhd asked 15/7, 2021 at 14:4

2

I've bottom nav view with 3 item, My navGraph looks like this: <navigation xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:t...

1

I am trying to add badges in bottom navigation but the problem is getOrCreateBadge is not getting referenced. I am unable to access this method. Error : Unresolved reference: getOrCreateBadge <...

© 2022 - 2024 — McMap. All rights reserved.