2016-04-21 134 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文件。

相關問題