How to create a Bottom Navigation Bar in Android Studio (Kotlin 2020)

How to create a Bottom Navigation Bar in Android Studio (Kotlin 2020)

Indently

4 года назад

57,007 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Kléber Albino Moreira
Kléber Albino Moreira - 26.09.2023 00:58

Muito bom o vídeo, ajudou bastante. Obrigado =)

Ответить
Programmer Times
Programmer Times - 17.01.2023 08:31

great work bro i have created similar video on my channel if you have time do check it

Ответить
Kiss Gergő
Kiss Gergő - 19.12.2022 01:33

Could someone explain how to do it with activites instead of fragments?

Ответить
Lun Sim
Lun Sim - 30.11.2022 18:24

Could you apply lottie animation into BottomNavigationView using navigation graph?

Ответить
code with sas
code with sas - 22.11.2022 13:57

Thank you so much

Ответить
Ivan Fdez Paris
Ivan Fdez Paris - 20.11.2022 19:11

If in each option of the navigation bar there are different fragments, how can you make that when you click on an option of the navigation bar, it returns to the main fragment instead of staying in the last fragment?

Ответить
Racoon°YT
Racoon°YT - 14.11.2022 20:57

My setOnNavigationItemSelectedListener is crossed out, help please

Ответить
Billy LegumbreS
Billy LegumbreS - 05.10.2022 21:29

But what if i want to move from activity to activity with it

Ответить
riyaz mohamed
riyaz mohamed - 11.06.2022 15:34

what is itemid in main activity

Ответить
Sebastian
Sebastian - 13.04.2022 05:00

Doesn't display the bottom navigation bar for me

Ответить
Jlevk
Jlevk - 19.03.2022 17:22

Main activity dont see my element bottom-navigation. And one more problem, i see bar in phone but xml is doesn't have it in studio

Ответить
Kiko-Glitching
Kiko-Glitching - 25.01.2022 21:52

his in a hurry

Ответить
Android Millennium
Android Millennium - 13.01.2022 16:56

Thanks a lot

Ответить
sarbador
sarbador - 05.01.2022 06:04

Please answer my question.

Why do these buttons work only after double-clicking ?

Ответить
Javi Morales
Javi Morales - 04.01.2022 19:56

wtf programming at Kotlin is fastest :O :O :O

Ответить
Muhammad Candra Alifisya
Muhammad Candra Alifisya - 03.12.2021 12:30

you are my hero dude

Ответить
Edward Baker
Edward Baker - 31.10.2021 20:29

How do you change the font size of the bottom navigation menu?

Ответить
OMAR VELASCO
OMAR VELASCO - 27.09.2021 07:42

You are the best<3

Ответить
MONDRAGON DELGADO MEZLY ZAHORY
MONDRAGON DELGADO MEZLY ZAHORY - 27.09.2021 07:41

TE AMO TE AMO TE AMO TE AMO

Ответить
MONDRAGON DELGADO MEZLY ZAHORY
MONDRAGON DELGADO MEZLY ZAHORY - 27.09.2021 07:40

YOU ARE MY HERO!!!! Gracias a ti pude salvar mi tarea :( <3 te mereces el cielo

Ответить
whitemamba00
whitemamba00 - 25.08.2021 14:15

Hello, Thank you for great tutorial, I have a question, for example what if I only want to resize Favorites part, how to I change size of this icon ? I can resize all of them but I can't resize one of them, thanks.

Ответить
vincent laizer
vincent laizer - 18.08.2021 23:59

great video though setOnNavigationItemSelectedListener is deprecated at this moment use
setOnItemSelectedListener instead

Ответить
Andrei
Andrei - 11.08.2021 01:42

perfect, quick and effective. Love such videos

Ответить
PixelPlayground
PixelPlayground - 16.06.2021 06:48

Osm

Ответить
Robert Laguna
Robert Laguna - 30.05.2021 04:09

man i have a problem, can you please help me?
when i use the setOnNavigationItemSelectedListener android studio does not recognize the id of my bottom navigation bar and it just doesn't work
i already checked all my code and its the same

Ответить
Ronan Irvine
Ronan Irvine - 24.05.2021 12:09

I cant seem to get the "bottom_navigation.setOnNavigationItemSelectedListener" part to work, it just turns red for not good reason

Ответить
jeewantha lahiru
jeewantha lahiru - 11.05.2021 17:46

bottom_navigation cannot be called in MainActivity, is there any import mechanism or something for do that?

Ответить
Fine Works
Fine Works - 20.04.2021 22:38

It is good tutorial. But you rushed highly. I did all but when I click the icons, the app goes wrong and disappear from the emulator. And when I remove the fragments, I can see the icons but they don't listen at all. And the other thing is, I couldn't get the titles with the icons. Why? Android Studio couldn't detect me where I missed it. Please help me.

Ответить
Nykur
Nykur - 16.04.2021 13:32

Man you make it simple for me ty

Ответить
Vitalii Chubak
Vitalii Chubak - 15.04.2021 01:08

I have problem with button_navigation. Cant call in MainActivity :(

Ответить
bimo aghna
bimo aghna - 25.03.2021 11:57

why button_navigation cant call in MainActivity ? its red

Ответить
Tnnz
Tnnz - 24.03.2021 15:37

Sir how to make it floating on scroll view?

Ответить
Eldin Pita
Eldin Pita - 22.03.2021 03:48

This was great! however for some reason on the bottom bar, The icons are showing up, but only under the Home Icon does it say "Home" under the other icons there is no writing. Anyone come up with that issue?

Ответить
DNightmare
DNightmare - 10.03.2021 06:16

yo, i am using the pop up navigation menu which is kinda standard (the left navigation menu), so the issue i am facing is when i click one of the navigation, it does work but it doesnt close upon clicking, any solution for it?

Ответить
Rifqi
Rifqi - 06.03.2021 17:59

Damn, this is much simpler. Thank you

Ответить
Julio Camacho
Julio Camacho - 03.03.2021 17:55

Excellent thanks

Ответить
iBlessme
iBlessme - 28.02.2021 13:57

thenks so much!!!!!!!!!!!!
u saved me

Ответить
Nasser Azad
Nasser Azad - 14.02.2021 15:32

Thanks a lot. I have fixed a issue watching this video.

Ответить
Shubham Naik
Shubham Naik - 08.02.2021 16:40

Bhai, full sequential course banayo na Kotlin for Android ke liye.

Ответить
mary maria
mary maria - 22.01.2021 18:36

good job

Ответить
bioman
bioman - 13.01.2021 14:25

Excellent! That was helpful and without any unnecessary talk! I also love your clear pronounciation which is effortlessly easy to understand for non-native speakers.

Ответить
Philip Thomas
Philip Thomas - 08.01.2021 11:47

when i was in the final stage of writing the code in the mainactivity.kt the val functions after the = sign were all red

Ответить
Joseph Chizororo
Joseph Chizororo - 07.01.2021 13:11

great video, thank you very much!!!! if anyone can help me please. i am having a problem on the MainActivity.kt. My bottom_navigation.setOnNavigationItemSelectedListner line is coming up as an unresolved reference for bottom_navigation. anyone know what the problem might be?

Ответить
winnu ayi
winnu ayi - 07.01.2021 05:56

simple and straight to the point.

Ответить
Genio
Genio - 29.12.2020 16:10

Could you convert this into Java?

Ответить
PHANTOM
PHANTOM - 01.12.2020 10:48

supportFragmentManager is not being recognized (Unresolved reference: supportFragmentManger)
what can be the problem?

Ответить
Prod. JXXN
Prod. JXXN - 30.11.2020 11:05

Nice video!

Ответить
Jonathan Estrada
Jonathan Estrada - 26.11.2020 09:10

You help me a lot, thank you!! ♥️

Ответить
Peter *
Peter * - 24.11.2020 11:30

Can a fragment hold RecylerView while using bottom navigation Bar ?

Ответить