<android.support.design.widget.TabLayout android:layout_width="match_parent" android:layout_height="@dimen/dimen_114" android:id="@+id/mTabLayout" app:tabTextColor="@color/color_FFFFFFFF" app:tabSelectedTextColor="@color/color_FFFFFFFF" app:tabMode="fixed" app:tabGravity="fill" app:tabMaxWidth="0dp" app:tabIndicatorHeight="0dp" app:tabPaddingBottom="-1dp" app:tabPaddingEnd="-1dp" app:tabPaddingStart="-1dp" app:tabPaddingTop="-1dp" ></android.support.design.widget.TabLayout>
關鍵:android
app:tabPaddingBottom="-1dp"app
app:tabPaddingEnd="-1dp"get
app:tabPaddingStart="-1dp"it
app:tabPaddingTop="-1dp"im
這樣就能夠消失tab中的padding了layout