Wow, this tutorial is amazing! I really appreciate the effort you put into explaining code. Your clear instructions made it easy to follow along. Can't wait for more videos on Android UI design and backend tutorials. Keep up the fantastic work! 👏👍
Hi, im stucked, can you tell me the logic of instagram: imagine we have an inner fragment inside the main fragment and we swtich to other item bottom navigation, and then come back to the previous item bottom navigation but it has to open the inner fragmnet as it was the last opened fragment(instead of the main fragment), just like the search nav in instagram, we open a post and it has the bottom nav, if we go to profile nav and then come back to search box nav, it opens the last post instead of whole search box!, how can we achieve this behavior?
Hello, the video was helpful. I followed the procedure and understood how it works. Is there a way to navigate between the various fragments without losing their data?
I have a issue and I tried my best to spot the issue but it seems whenever I click in nagivation bottom view to go to another fragment, it overlaps the text meaning it overlaps another fragment on to it. I dont know how to fix this
There is one line of code which I have placed in another method, I have added a note in this video, I think you didn't noticed that note. That may be causing the issue. Revise the video once again and try. If it doesn't works, please provide me your java code.
You can change these icons in "bottom_nav_items.xml" file, each item have its own icon and can be changed in "android:icon="@drawable/your_icon..xml" attribute.
Create a new style with parent "Widget.Material3.BottomNavigationView.ActiveIndicator" and name it as you want. In this style tag, add the following code : @color/ _@android:color/transparent_ Now add the following code in your *BottomNavigationView* : app:itemActiveIndicatorStyle="@style/ _your_style_name_ " and its done. Let us know if it worked for you. Thanks
здравствуйте! благодаря вашему видео я смог сделать эту навигацию, спасибо вам огромное! но есть один недочет, скорее всего из-за моей невнимательности. у меня почему то высоко смещена полоска навигации. сто раз пересмотрел ваш xml код, все равно не могу понять в чем ошибся. можете помочь мне пожалуйста?
Hi, thanks for your appreciation! but I am not getting your flaw completely, I don't understand that what you mean of "NavigationBar set high", can you please elaborate your query? In case you need to share your screenshots or something else, you can message me to my Instagram : instagram.com/coding.lab_?igsh=a3BxOW0yNzZsYXhu
*If you wanted to change the selected icon background (not the selected item background) :* Create a new style with parent "Widget.Material3.BottomNavigationView.ActiveIndicator" and name it as you want. In this style tag, add the following code : @color/ _your_color_ Now add the following code in your *BottomNavigationView* : app:itemActiveIndicatorStyle="@style/ _your_style_name_ " and its done. Let us know if it worked for you. Thanks
I tried your code and this is what happened. "Attempt to invoke virtual method 'android.view.View com.google.android.material.bottomnavigation.BottomNavigationView.findViewById(int)' on a null object reference" how can i fix this?
Surya Sir I need your contact number, as I am making an android application but I am stucke somewhere. Your videos are very knowledgeable. Please help and reply.