Fragment with Recyclerview Part 1 : Create tablayout with icons | Android studio Tutorial

hello guys and welcome back to a new android tutorial,
in this first part we will create and design the tablayout with icons next video we will create and add the recyclerview to our fragment (list contacts)
Video Walkthrough :

01:08 : Setup Colors
02:05 : Add Design support library
02:56 : Add Tablyout & Viewpager
04:15 : Create Fragments layouts
05:43 : Create Fragments classes
09:12 : Create Fragment Pager Adapter
14:32 : Add Fragments to the ViewPager Adapter
16:28 : Add icons drawables to our projects
17:57 : Add icons to tablayout
19:46 : Remove Actionbar shadow (Elevation)

Follow me On :
Google Plus :
Instagram :
Github :
My blog :
Music Credits:


Xem thêm bài viết khác:


  • Please check the description for video walkthrough!

    Aws Rh
    Posted July 13, 2020
  • I have also use fragment and recycleview but I face problem when ever I click on first tab all fragment api call itself and fragment also did u know how to handle this bugs

    Muhammad Luqman
    Posted July 13, 2020
  • bro cool tut! can u pls help i dont see the blue indicator like yours, instead – the title of the selected tab is highlighted, any ideas?

    Ziko Isaac
    Posted July 13, 2020
  • Thanks for Video. My side Same Application Created. It was Build Successful but not Run Successfully. What will do?

    Rajkumar Dhandapani
    Posted July 13, 2020
  • En el tabLayout.setupWithViewPager(viewPager); me sale este error error:
    cannot find symbol



    symbol: method setupWithViewPager(ViewPager)

    David Montero
    Posted July 13, 2020
  • Please, if possible, an explanation of how to set up
    So that when you click on
    in item of Recyclerview show anther Recyclerview Of course with Fragment and kotlin

    عشاق الصحراء الجزائر
    Posted July 13, 2020
  • design dependency in androidx?

    Fahad Mansoor
    Posted July 13, 2020
  • Can I use the same gradle dependency for android 3.6.1 version ?

    dvl sravya
    Posted July 13, 2020
  • Man, It is Great. Thank You

    Yeleu Zhan
    Posted July 13, 2020
  • please same example kotlin language ke liye karo na sir

    Sagar Lokhande
    Posted July 13, 2020
  • how to filter items in each tab?

    Kayod Marino PH
    Posted July 13, 2020
  • Wow bro. Thanks you so much! This was really helpful for me but i have a problem: How can i make icons bigger? When i change its height and width into their xml files, i can´t see changes into the tabs. Please help me guys 🙁

    Tomas Menniti
    Posted July 13, 2020
  • thank you , it was very helfull , i google a lot but i never atisfied till i watched this ,it could be my pleasure if you could get the list from web server … FYI i get similar using activity but failed in fragment.

    seyid takele
    Posted July 13, 2020
  • here is the git hub link for the application with little modification like using Cursor to fetch real contact list

    Reshan Faraz
    Posted July 13, 2020
  • well done

    Mister TTR
    Posted July 13, 2020
  • Can you show me how can i update this to androidx, i can not find the reference.

    Posted July 13, 2020
  • please give me source code this video

    Technical ORS
    Posted July 13, 2020
  • How can i send data from Activity to fragment

    zoro zoro
    Posted July 13, 2020
  • Now .. fragment Manger inside the Adaptor how Execute the instruction>>> fragmentManager .beginTransaction().replace(, mFragment).commit();

    zoro zoro
    Posted July 13, 2020
  • how to add video view in fragment

    Digital India
    Posted July 13, 2020
  • how to search contacts pls man

    Priyankara Bandara
    Posted July 13, 2020
  • Thank you

    Qasim Abbasi
    Posted July 13, 2020
  • Sir, every time I populate the tab fragment of data from firebase, it won't show up unless I slide up to the last tab fragment and then go back to that fragment I want to be populated. For example, I want to populate tab 1. It doesn't show up at first but when I slide to tabs 2 and 3, then I go back to tab 1, the data is now there. I hope you can answer this 🙁

    Facility Locator
    Posted July 13, 2020
  • how can i set my contact list

    Poonam Bhagat
    Posted July 13, 2020
  • Hi i am proud for your démo. But i want to explain me how to open a cardview on fragment with tablayout. I want identify each cardview by findviewbyid but it ils not possible

    kampete tintin
    Posted July 13, 2020
  • You are my lifesaver and for hundreds of us thank you very much for such videos …. if we meet i am gonna give you a treat for this help

    Posted July 13, 2020

    Parashar Dhamecha
    Posted July 13, 2020
  • Is it possible to use this in music player?

    Posted July 13, 2020

Leave a comment