2
“海拔”让滑动翼片布局工作棒棒糖设备上正常,但标签将消失在棒棒糖预设备。我想知道是否有任何方法可以在SliderTabLayout上为Lollipop之前的设备添加高程。高程上SlidingTabLayout预棒棒糖设备
这里是我的.XML文件:
<RelativeLayout
android:id="@+id/tab_frame_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/divider_line">
<!-- Sliding Tab Layout -->
<com.luulla.mobile.android.library.SlidingTabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="1.5dp"
android:background="#FFFFFF"/>
<!-- Add ViewPager -->
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_below="@android:id/tabs">
</android.support.v4.view.ViewPager>
</RelativeLayout>