pda/zhuike/.svn/pristine/5d/5d32cf4a363d30a42469eef8b6a...

32 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<q.rorbin.verticaltablayout.VerticalTabLayout
android:id="@+id/tablayout"
android:layout_width="80dp"
android:layout_height="match_parent"
android:background="@color/colorPrimaryLight"
app:indicator_color="#FFFFFF"
app:indicator_gravity="fill"
app:tab_height="50dp"
android:layout_weight="0"
android:paddingTop="50dp"
android:layout_margin="1dp"
app:tab_mode="scrollable" />
<android.support.v4.view.ViewPager
android:paddingTop="20dp"
android:paddingLeft="2dp"
android:id="@+id/viewpager"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v4.view.ViewPager>
</LinearLayout>