如何从ActionBar设置android选项卡高度?

如何从ActionBar设置android选项卡高度?,android,layout,tabs,android-actionbar,Android,Layout,Tabs,Android Actionbar,如何从ActionBar设置android选项卡高度 我找了很多。我已经在stackoverflow和其他网站上尝试了很多建议。但没有改变选项卡的高度,只有操作栏的高度 请参见此屏幕截图: 我正在使用galaxy s4迷你安卓4.2.2进行测试。 我正在使用压缩模式下的actionbar 选项卡XML: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.and

如何从ActionBar设置android选项卡高度

我找了很多。我已经在stackoverflow和其他网站上尝试了很多建议。但没有改变选项卡的高度,只有操作栏的高度

请参见此屏幕截图:

我正在使用galaxy s4迷你安卓4.2.2进行测试。 我正在使用压缩模式下的actionbar

选项卡XML:

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="60dp"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:layout_gravity="center_horizontal"

    >

    <ImageView
        android:id="@+id/icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:minHeight="42dp"
         />

    <TextView
        android:id="@+id/title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:textSize="11sp" />

</LinearLayout>