Bottom Navigation Bar with Fragments - Android Studio Java Tutorial 2023 | Step by Step

  Рет қаралды 22,716

Code with Surya

Code with Surya

Күн бұрын

Пікірлер: 71
@skilllearn904
@skilllearn904 Жыл бұрын
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! 👏👍
@codewithsurya101
@codewithsurya101 Жыл бұрын
I appreciate the positive feedback! Thanks! 👍
@cyberdawn361
@cyberdawn361 8 ай бұрын
i was stuck in this bottom navigation for weeks. you Have finished my job. Thanks❤
@Chetan_fireworks
@Chetan_fireworks Жыл бұрын
Your video explanation is excellent. Keep us updating. Thank you 😊
@newbie1101
@newbie1101 Ай бұрын
the way you explained each and every detail step by step was so amazing It was very helpful.
@codewithsurya101
@codewithsurya101 Ай бұрын
@@newbie1101 thankyou
@motovloggingwithsunny
@motovloggingwithsunny 9 ай бұрын
Your clear instructions made it easy to learn can you start android full course basic to advance explanation is excellent 👌
@Chetan_fireworks
@Chetan_fireworks Жыл бұрын
I was finding solution from one week, but your video gave me solution. And code is working fine 👌
@codewithsurya101
@codewithsurya101 Жыл бұрын
Glad to hear that!
@janvichuphal2804
@janvichuphal2804 22 күн бұрын
Thank you so much sir 😊🙏🏻
@fictionfacts7931
@fictionfacts7931 3 ай бұрын
great explanation... keep continue brother
@soomrog4312
@soomrog4312 11 ай бұрын
You are a great teacher. Thumbs Up for you! Keep up good work. You will get thousands of subscribers. 😊
@codewithsurya101
@codewithsurya101 11 ай бұрын
Loved your appreciation, Thankyou so much! 💚
@pankulghai456
@pankulghai456 6 ай бұрын
sir you are doing a good job. thankyou so much your video helped me.
@joaoclaudiosilvadelima4452
@joaoclaudiosilvadelima4452 4 ай бұрын
Great!Perfect.
@Chetan_fireworks
@Chetan_fireworks Жыл бұрын
Your code is working excellent.
@x7429.
@x7429. Жыл бұрын
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?
@techamatuer8115
@techamatuer8115 7 ай бұрын
Actually this video is not helpful, it is the best video on KZbin for beginners, lot's of love sir keep doing well
@codewithsurya101
@codewithsurya101 7 ай бұрын
Thankyou so much for your appreciation, means a lot :)
@iqct_vr7578
@iqct_vr7578 7 ай бұрын
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?
@MuhammadUmar-f2m
@MuhammadUmar-f2m Жыл бұрын
thanks bro you saved me
@ГрафСмерть
@ГрафСмерть 8 ай бұрын
5:18 how to make icons colored? In my project it just grey...
@codewithsurya101
@codewithsurya101 8 ай бұрын
Just add this attribute to your BottomNavigationView app:itemIconTint="_your_color_"
@ГрафСмерть
@ГрафСмерть 8 ай бұрын
@@codewithsurya101 I tried, on the page where the navbar is shown, everything is colorless (gray)...
@ItsLayal
@ItsLayal Жыл бұрын
Hello, is it possible to achieve for the home fragment to have a listView and inside each item of the listView it contains a gridView?
@ItsLayal
@ItsLayal Жыл бұрын
How can I achieve this please? 😅
@codewithsurya101
@codewithsurya101 Жыл бұрын
Yes, it is possible. I will Create a video for it. Thanks
@ItsLayal
@ItsLayal Жыл бұрын
@@codewithsurya101 yes please 🥹 thank you so muchh ❤️
@FahadShah19
@FahadShah19 5 ай бұрын
Thanks Bro!
@rosalesecho7994
@rosalesecho7994 5 ай бұрын
Hi i watch your video it work but in the fragment xml is not showing the layout
@pameloarnal
@pameloarnal 3 ай бұрын
it's not working the animation to switch between the little icons on the bottom menu, can u help me please
@drxrathore
@drxrathore 10 ай бұрын
How to remove the background highlight of the selected tab in the bottom nav bar!
@codewithsurya101
@codewithsurya101 10 ай бұрын
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
@drxrathore
@drxrathore 10 ай бұрын
Thank you, brother, it worked! I really appreciate it. You've earned yourself a new subscriber. ❤️
@volkancicek5117
@volkancicek5117 9 ай бұрын
thanks bro
@AqibSagheer-t6y
@AqibSagheer-t6y 3 ай бұрын
bhi mujhy from scratch seekhna hy to kya seekhoon mujhy language bhi ni aati koi please answer
@enhapsh
@enhapsh 8 ай бұрын
how the other icons doesn't have title visible except home?
@pop-upfacts315
@pop-upfacts315 6 ай бұрын
Same error
@pameloarnal
@pameloarnal 3 ай бұрын
did u find out how to solve?
@MarvelLiberty
@MarvelLiberty 9 ай бұрын
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
@codewithsurya101
@codewithsurya101 9 ай бұрын
Can you please share your Java code?
@MarvelLiberty
@MarvelLiberty 9 ай бұрын
@@codewithsurya101 Its the same one I followed your's in this video. Just the fragment's name is different
@codewithsurya101
@codewithsurya101 9 ай бұрын
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.
@ransfordfixonowoo5949
@ransfordfixonowoo5949 10 ай бұрын
Hello sir I'm having issues that's says default activity not found so what can I do to make the activity start
@codewithsurya101
@codewithsurya101 10 ай бұрын
When are you getting this error?
@ilyha_P
@ilyha_P 8 ай бұрын
здравствуйте! благодаря вашему видео я смог сделать эту навигацию, спасибо вам огромное! но есть один недочет, скорее всего из-за моей невнимательности. у меня почему то высоко смещена полоска навигации. сто раз пересмотрел ваш xml код, все равно не могу понять в чем ошибся. можете помочь мне пожалуйста?
@codewithsurya101
@codewithsurya101 8 ай бұрын
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
@ilyha_P
@ilyha_P 8 ай бұрын
@@codewithsurya101 написал
@irfanshahid328
@irfanshahid328 9 ай бұрын
bro, why all my icons at the navigation bar become notification icon? home, search and profile displayed a same icon as notification
@codewithsurya101
@codewithsurya101 9 ай бұрын
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.
@ilyha_P
@ilyha_P 8 ай бұрын
у меня также было, просто очисти кэш в file - Invalidate Caches - Invalidate and Restart. проект перезапустится и все нормально будет
@JorgeMiguel147
@JorgeMiguel147 Жыл бұрын
can you pls give us the source code? Great job!
@sanju_bk_476
@sanju_bk_476 9 ай бұрын
Bro in my code it hasn't shown any fragments.why is that?
@codewithsurya101
@codewithsurya101 9 ай бұрын
Can I see your code?
@albertaldemita2604
@albertaldemita2604 Жыл бұрын
how to change the color of background of icon?
@codewithsurya101
@codewithsurya101 Жыл бұрын
*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
@frank3606
@frank3606 Жыл бұрын
why is my navigation bar appearing on the top instead of the bottom. Nice video by the way
@codewithsurya101
@codewithsurya101 Жыл бұрын
Please message me on Instagram, I need to see your xml code. instagram.com/coding.lab_?igshid=OGQ5ZDc2ODk2ZA==
@abdulganiukassim1085
@abdulganiukassim1085 Жыл бұрын
I watched from start to end though I don't understand what he is saying. Please can u do some in English
@codewithsurya101
@codewithsurya101 Жыл бұрын
You can watch this video with English subtitles.
@ArlizunYt
@ArlizunYt 11 ай бұрын
Aur video dala karo bro
@codewithsurya101
@codewithsurya101 11 ай бұрын
Sure 👍
@nayansingha6469
@nayansingha6469 Жыл бұрын
Hello sir give me a Navigation Drawer video
@nayansingha6469
@nayansingha6469 Жыл бұрын
@EduardoIanEspinosa
@EduardoIanEspinosa Жыл бұрын
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?
@codewithsurya101
@codewithsurya101 Жыл бұрын
Can you please share your Java code where you are getting this error?
@waheguruthedivine540
@waheguruthedivine540 8 ай бұрын
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.
@SALIKRAZAVI
@SALIKRAZAVI 11 ай бұрын
Hlo bro I got an erron in this code please share me your social media account where I can ask solution for the the error.
@codewithsurya101
@codewithsurya101 11 ай бұрын
Sure, I'm on Instagram as @coding.lab_. instagram.com/coding.lab_?igsh=YzljYTk1ODg3Zg==
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Hack your brain with Obsidian.md
11:53
No Boilerplate
Рет қаралды 2 МЛН
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,8 МЛН
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 4,3 МЛН
It's time to talk about these UI trends
9:09
Juxtopposed
Рет қаралды 517 М.
Bottom Navigation in Android Studio using Kotlin | Android Knowledge
16:25