2016-04-21 107 views
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> 

回答

1

我通过here找到解决方案,将 “机器人=海拔=” 有绘制的XML文件。

相关问题