rei_ayanami rei_ayanami - 1 year ago 112
Android Question

Indented TabLayout

In TabLayout, how can I set left indent? Like for example AdSense google app.

enter image description here

Answer Source

you can use app:tabContentStart="100dp" for to give indent

This attribute allows you move the active tab to the left according to the value specified, which is set in "dp" (like a margin-left thing)