Add button on Sliding Tab Layout
问题 I want to add a custom button on my Tab Layout. This expand button will expand my current tab view. I already have implemented all the functionalities given in google's sliding tab. 回答1: You can make it with the help of FrameLayout. <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:card_view="http://schemas.android.com/apk/res-auto" android:id="@+id/card_view" android:layout_width="match