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>