Add below line to build.gradle file under app folder and sync
Credits to the Author of the Library.
create a layout like below
create a drawable with an image like below. I have created four files like this. please see source code for reference.
Add all icons are added as an array in strings.xml file and we can use in MainActivity class.
<array name="icons"> <item>@drawable/uber_pool</item> <item>@drawable/uber_moto</item> <item>@drawable/uber_go</item> <item>@drawable/uber_suv</item> </array>
Create an Activity class and