How do you get that line out of Tablayout?

Asked

Viewed 58 times

0

inserir a descrição da imagem aqui

Someone here knows how to shoot that green line?

Thanks in advance ^^

1 answer

0

The TabLayout has some attributes that help to style the tabIndicator.

But I believe only to leave the height of tabIndicator equal to zero solves your problem:

<android.support.design.widget.TabLayout
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_height="wrap_content"
     android:layout_width="match_parent"
     app:tabIndicatorHeight="0dp" />

I think it’s worth taking a look at the documentation of TabLayout

  • Thanks!! D You know how I change the size of an icon in tabLayout?

  • I put to fetch the image in the drawable folder and put in tabs. Only the icon gets small. How to change them?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.