Valuedandloved - Trang Thông Tin Tổng Hợp Cập Nhật 24/24
  • Home
  • Du Lịch
  • Công Nghệ
  • Kinh Doanh
No Result
View All Result
  • Home
  • Du Lịch
  • Công Nghệ
  • Kinh Doanh
No Result
View All Result
Valuedandloved - Trang Thông Tin Tổng Hợp Cập Nhật 24/24
No Result
View All Result
Home Công Nghệ

Navigation Drawer with Fragments Part 1 – MENU AND ACTIVITY THEME – Android Studio Tutorial

admin by admin
June 2, 2020
in Công Nghệ
40
Navigation Drawer with Fragments Part 1 – MENU AND ACTIVITY THEME – Android Studio Tutorial



In this little video series we are going to build a navigation drawer from scratch. When we click any of the menu items in our navigation drawer, we will switch between different fragments or trigger another action.

In part 1 we will add the dependency for the design support library and create the vector icons, as well as the menu xml file with a menu group and multiple menu items, which each have an id, a title and an icon set to them. We will also prepare our activity theme by removing the action bar with the windowActionBar and windowNoTitle attributes, so we can later add a toolbar instead.

Watch the whole playlist:

Example code + dependency:

____________________
❗ Subscribe to the channel:

⏯ Watch more tutorials:

⭐ Become a channel member for exclusive tutorials and other perks:

㊙ Help translating the videos:

💚 Support the content:

💬 Join the Discord chat:

🎧 Audiobooks and podcasts for programmers:

👶 How to get started with Android development:

📣 Follow Coding in Flow on social media:

Facebook:

Instagram:

Twitter:

Blog:

Nguồn: https://valuedandloved.com

Xem thêm bài viết khác: https://valuedandloved.com/cong-nghe/

Xem thêm Bài Viết:

  • Adobe Character Animator là gì? Top cấu hình máy tính chạy Character Animator
  • Tìm hiểu CRM bất động sản và những điều cần biết
  • Binary Option là gì? Giao dịch trên sàn Binary Option thực hiện như thế nào?
  • Top CPU Tốt Nhất 2020 Cho Người Build PC
  • Những lưu ý khi cài đặt và sử dụng phần mềm Microsoft Toolkit
Previous Post

Review sản phẩm đồ chơi Anh Hùng Trái Đất | Armored Hero | Ten Tun

Next Post

Cách tìm Nick Facebook Bằng số Điện Thoại Khi Facebook Đã Tắt Chức Năng Tìm Kiếm Bằng Số Điện Thoại

Next Post
Cách tìm Nick Facebook Bằng số Điện Thoại Khi Facebook Đã Tắt Chức Năng Tìm Kiếm Bằng Số Điện Thoại

Cách tìm Nick Facebook Bằng số Điện Thoại Khi Facebook Đã Tắt Chức Năng Tìm Kiếm Bằng Số Điện Thoại

Comments 40

  1. Junad Ahmed says:
    3 years ago

    At 1:05, I don't have com.android.support:appcompat-v7:26.1.0 or any version of that in mine. How should I add the design dependency?

    Reply
  2. Tanmay Singhal says:
    3 years ago

    i didnt selected navigation activity as first i was having no intention of using it but now i need it.. how can i do it?

    Reply
  3. 9th Gluon says:
    3 years ago

    Love the accent.

    Reply
  4. Marinakulichok says:
    3 years ago

    implementation 'com.google.android.material:material:1.2.0-alpha06' I have tried it on May 2020
    This line works properly even if you do not see you menu on preview
    I could see my navmenu only on activity.xml

    Reply
  5. Shreyash Pawar says:
    3 years ago

    Is there a way that I can use activities instead of fragments?

    plz comment bro

    Reply
  6. DAKSHAY S says:
    3 years ago

    tools:showIn="navigation_view" is not working on my android studio. What could be the cause ?

    Reply
  7. Bipin Maharjan says:
    3 years ago

    that dependency is depreciated here is the new one:
    implementation "androidx.drawerlayout:drawerlayout:1.0.0"
    implementation "com.google.android.material:material:1.1.0"

    Reply
  8. Sara Darwish says:
    3 years ago

    Thank you , that is very helpful. 😁

    Reply
  9. alawthalixx 220 says:
    3 years ago

    thank you this video really helped me

    Reply
  10. xxthebbkidxx says:
    3 years ago

    It says i cant use com.android.support:design:28.0.0 because I'm using android q instead of x is there a workaround for this?

    Reply
  11. Kingsley Ajebon says:
    3 years ago

    Dude. I love your channel. It is the BEST!!!!!!! . The way you explain is TOOO Tight. Seriously. I dont need to be distracted by any other. Dude. I hope we can make topical requests.

    Reply
  12. Manoj Mamgai says:
    3 years ago

    Awesome dude thnxx
    Keep this heart ❤

    Reply
  13. Nehemiah Narzary says:
    3 years ago

    It's not working in android studio 3.6.3, androidx

    Reply
  14. vishal mishra says:
    3 years ago

    I am not getting preview after changing to androidx dependency also rebuilding the project

    Reply
  15. crickstore says:
    3 years ago

    Fantastic little series of Navigation Drawer. Very nicely explained

    Reply
  16. Cheddargt says:
    3 years ago

    Is there a way to make that "line" between item groups but without the "communicate" title?

    Reply
  17. Evan Adams says:
    3 years ago

    super helpful in showing how everything works together. WAyyyyyyy more helpful than my college professor lol. much appreciated!!

    Reply
  18. johnnie gilkerson says:
    3 years ago

    :I cant do this project. At 1:07 in video, my dependences says androidx.appcompat:appcompat:1.1.0
    and I cant change it, If I do it wont sync

    Reply
  19. gabriel Francis says:
    3 years ago

    why dont you ever use kotlin. i understand if its your personal preference to use java but come on. its 2020

    Reply
  20. Hauying Wong says:
    3 years ago

    Hi, at 8:15 >>xmlns:tools="http://schemas.android.com/tools"
    tools:showIn="navigation_view"<< this doesn't work for me the preview turns grey. How should I change it?

    Reply
  21. Ganesh JDev says:
    3 years ago

    At 7.35 , i just follower steps but i getting errors only );

    Reply
  22. Prathamesh dongare says:
    3 years ago

    Hey bro I'm getting error after giving design dependencies

    Reply
  23. tai06 do the says:
    3 years ago

    How to switch from fragment 2 to fragment 1 when doing backpress on systembar ? help me

    Reply
  24. tai06 do the says:
    3 years ago

    I want when I choose to go back to the fragment home and exit ,,,help me ??

    Reply
  25. Urban Coder says:
    3 years ago

    on clicking menu items my app is getting crashed…what should i do

    Reply
  26. Abdullah Azeem UAF says:
    3 years ago

    tools:showIn="navigation_view" is not working for me. all disappears when i do this. please help me

    Reply
  27. Sandeep Kumar Das says:
    3 years ago

    When i'm adding the tools:showIn="navigation_view"> the preview doesn't appearing what will i do?

    Reply
  28. goamedia goa says:
    3 years ago

    Hi, Is there a way i can create a app to update the content in the app, i want to crate a app were i can keep updating the youtube links to stream videos.

    Reply
  29. Shafaq Naz says:
    3 years ago

    Hey Actually i have created one registration fragment and done something coding but when I used to choose on button for selection of images from gallery it isn't working can you tell me why and how do I need to call registration fragment in main activity Plz sir

    Reply
  30. g g says:
    3 years ago

    sir how to make whatsapp status video app plz full cours

    Reply
  31. Anie Azirah says:
    3 years ago

    Hi sir, your voice is same like my lecture in the class. Maybe you are my lecture. :p

    Reply
  32. Damianos17 xyz says:
    3 years ago

    Man I dont know where grow such a magnificent people like you. I am interested in your personality

    Reply
  33. PRINCE SINGH says:
    3 years ago

    Sir this code is not working and it is showing blank screen

    Reply
  34. Rushikesh charapale says:
    3 years ago

    I'm getting error during syncing saying unable to resolve dependency for design:28.0.0. what's the actual problem and solution for that?

    Reply
  35. beerolifant says:
    3 years ago

    Whenever I run the app the menu does not show. The only thing that shows for me is "Hello world" text. I've set the android theme, no changes.. Where and how do I change the code so that the drawer_menu is actually in the ContentView? It now refers to activity_main.xml from the layout folder (in Res), but I'm unsuccessful at changing that..

    Reply
  36. EagleVoice says:
    3 years ago

    How to hide the app title?

    Reply
  37. wilson omega says:
    3 years ago

    where does tools:showIn="navigation_view" comes from ??

    Reply
  38. Eneko says:
    3 years ago

    Can anyone help me with this question?
    https://stackoverflow.com/questions/60638089/how-to-add-an-intent-to-a-navigation-view-tab

    Reply
  39. Hammad Khan says:
    3 years ago

    What type of application to start with, fragmented? I am new to Android.

    Reply
  40. Ank M says:
    3 years ago

    We love you man ❤️

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Kawasaki Versys 300X, giá 169 triệu, Full Option | Motorrock

Kawasaki Versys 300X, giá 169 triệu, Full Option | Motorrock

August 14, 2020
Awkwafina May Join Jumanji Sequel

Awkwafina May Join Jumanji Sequel

November 10, 2020
Chùa Huyền Không Sơn Thượng – Huế

Chùa Huyền Không Sơn Thượng – Huế

March 27, 2020
[Review] Khách Sạn Hải Yên Mũi Né | Hotel Phan Thiết Bình Thuận – Dulich868.com

[Review] Khách Sạn Hải Yên Mũi Né | Hotel Phan Thiết Bình Thuận – Dulich868.com

March 27, 2020
Quất Lâm Biển Gọi – Chiêm Ngưỡng Vẻ Đẹp Toàn Cảnh Từ Flycam

Quất Lâm Biển Gọi – Chiêm Ngưỡng Vẻ Đẹp Toàn Cảnh Từ Flycam

March 27, 2020
SƯ BÀ TRỤ TRÌ CHÙA LÁ KHÁM CHỮA BỆNH MIỄN PHÍ CỨU NGƯỜI

SƯ BÀ TRỤ TRÌ CHÙA LÁ KHÁM CHỮA BỆNH MIỄN PHÍ CỨU NGƯỜI

March 27, 2020
  • Liên Hệ
  • Chính Sách Bảo Mật

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Du Lịch
  • Công Nghệ
  • Kinh Doanh

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.