How to remove this line from TabLayout?

0

Does anyone here know how to shoot this green line?

Thank you in advance ^^

    
asked by anonymous 15.05.2016 / 04:53

1 answer

0

TabLayout has some attributes that help to style tabIndicator .

But I believe that just letting the height of tabIndicator equal 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 checking the documentation for TabLayout

    
15.05.2016 / 19:59