I got a tablayout:
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white"
android:elevation="4dp"
app:tabMode="fixed"
app:tabGravity="fill"
app:tabBackground="@color/colorPrimary"
app:tabTextColor="@android:color/white"
app:tabSelectedTextColor="@android:color/white"/>
and a toolbar but there is still a small line between the toolbar and the divider. I haven't set a toolbar style yet. How do I remove the divider?
heres an image of the divider
Just add app:elevation="0dp"
in your AppBarLayout Widget [android.support.design.widget.AppBarLayout]
which has a toolbar wrapped.
It will do the work!
http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/
You can check whether that site create toolbar & tablayout
also u can trying with removing "android:elevation" tag.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With