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

All Questions

0 votes
1 answer
19 views

How can i implement a tab selector for BottomNavigationView?

Hellow there, i just wanna implement a tab selector for BottomNavigation view like this: At the moment i don't care about the item animations, i only want to put the bottom rectangle for the selected ...
Daniel Francos's user avatar
1 vote
2 answers
139 views

(BottomNavigationView) The style on this component requires your app theme to be Theme.AppCompat (or a descendant)

When using com.google.android.material.bottomnavigation.BottomNavigationView in my app layout, I get the following error: Caused by: android.view.InflateException: Binary XML file line #25 in com....
Niilo Poutanen's user avatar
0 votes
1 answer
60 views

How to Disable or Customize Shadow Effect in Material Design Components for Android Studio

I'm developing an Android app using Android Studio, and I'm using Material Design components, specifically BottomNavigationView. I want to disable or customize the shadow effect on this ...
Jules Gaudet's user avatar
0 votes
0 answers
30 views

How to remove the tiny wired color from bottom navigation view?

This is how it looks like in light theme Light Theme Preview (even though the bottom system bar had light icon even in light mode it's should be gray or something like that, whatever) Dark Theme ...
Crazy Rocket's user avatar
0 votes
1 answer
484 views

Bottom Navigation view is not detecting item selected

Im trying to make a bottom navigation view to control which fragment is displayed but the navigation view didn't detect any item selected. Here is my Activity Code : val fragmentMore = ...
lelestacia's user avatar
0 votes
1 answer
1k views

How to remove the toast like popup in BottomNavigationView when long press the item?

How to remove the toast like popup in material bottom navigation view BottomNavigationView occurs when we long press the single item .The demo image attached below
Suman Radhakrishnan's user avatar
1 vote
2 answers
283 views

After Adding Zoom Meeting SDK, BottomNavigationView is Crashing the app. Why this happening?

After Adding zoom sdk BottomNavigationView is crashing. [ZoomSDKImlementation][1] https://marketplace.zoom.us/docs/sdk/native-sdks/android/build-an-app/ Here I found the problem with menu. If I ...
Naveen Kumar M's user avatar
12 votes
2 answers
10k views

How to change the color of active indicator bottombavigationview material You? material3

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 ...
antnbaranov's user avatar
0 votes
1 answer
1k views

Theme inherited from Theme.MaterialComponents.DayNight.NoActionBar but still get crash for bottomAppbar

I'm trying to implement a bottomnavigationview and I followed the material tutorial. However I'm getting this error: Error inflating class com.google.android.material.bottomappbar.BottomAppBar Caused ...
confusedstudent's user avatar
-1 votes
2 answers
512 views

Remove boundaries BottomNavigationView for ripple effect

I want the ripple effect to go beyond the bounds of the BottomNavigationView. How can i do this? I have this xml: <com.google.android.material.bottomnavigation.BottomNavigationView ...
wowandy's user avatar
  • 1,214
0 votes
0 answers
347 views

How to bring down the fab in bottom app bar?

Since app:fabCradleVerticalOffset cannot have a negative value, I couldn't find a way to bring down the FAB component in bottom app bar.
Vijay Anand's user avatar
0 votes
2 answers
3k views

BottomNavigationView setOnNavigationItemReselectedListener is deprecated in Material Component version 1.4.0. What to use now?

BottomNavigationView setOnNavigationItemReselectedListener is deprecated with Material Component version 1.4.0. What to use now?
Raheem's user avatar
  • 624
0 votes
1 answer
931 views

BottomNavigationView - why is there not enough space for the badge Drawable?

I use a BottomNavigationView from the material library: const val material = "com.google.android.material:material:1.4.0-rc01" and set/update a badge on it using the following binding: @...
Droidman's user avatar
  • 11.6k
-1 votes
1 answer
661 views

Floating action button(FAB) in MotionLayout, .show() doesn't work, .hide() work incorrect

I have MainActivity with FragmentContainerView, BottomNavigationView and FAB. activity_main.xml: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.motion....
Andrei R's user avatar
  • 1,908
2 votes
2 answers
1k views

How to load image from url into BottomNavigationView menu item icon

I wanted to load image from url into bottomnavigationview's menu item icon. same like instagram we wanted to show profile image in one of our menu which might change while switching from different ...
P Vartak's user avatar
  • 440

15 30 50 per page