| | |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@color/colorBackground" |
| | | tools:context="com.bsk.zhangbo.demoforbsk.ui.activity.MainActivity"> |
| | | tools:context="com.bsk.zhangbo.demoforbsk.cn.com.basic.face.android.ui.MainActivity"> |
| | | |
| | | |
| | | <!--app:tabMaxWidth="@dimen/view_size_58" 设置tab的大小--> |
| | | <android.support.design.widget.TabLayout |
| | | android:id="@+id/tab_layout" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="100dp" |
| | | android:layout_height="@dimen/h70dp" |
| | | android:layout_alignParentBottom="true" |
| | | android:background="@color/colorPrimary" |
| | | app:tabIndicatorHeight="@dimen/view_size_0" |
| | |
| | | android:id="@+id/viewpager" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_above="@id/tab_layout"></android.support.v4.view.ViewPager> |
| | | android:layout_above="@id/tab_layout"/> |
| | | </RelativeLayout> |