This example uses the SmartTabLayout library to create a TabLayout with icons.
In answer to Stack Overflow (Pt-BR)
git clone git@github.com:MurilloComino/android-tablayout-icon.git
in File > New > Project from Version Control... > git
in URL put: https://github.com/MurilloComino/android-tablayout-icon.git
and then clone
- Connect via usb your android phone.
- After cloning the project, open the terminal and navigate to the root folder.
gradlew installDebug
./gradlew installDebug
- SmartTabLayout - Library
- Android Studio 3.5 - The IDE used