淘先锋技术网

首页 1 2 3 4 5 6 7
zi'ding
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:gravity="center"
    android:layout_width="match_parent"
    android:minHeight="55dp"
    android:layout_height="wrap_content">
    <ImageView
        android:id="@+id/imageView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>
    <TextView
        android:id="@+id/textView"
        android:layout_marginTop="2dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="订位"
        android:textColor="@drawable/home_bottom_text_color_selector"
        android:textSize="11sp" />
</LinearLayout>

 自定义tab布局,设置minHeight高度即可