xuxiuxi
2017-07-20 cceabb253edfccaa710ffdd19fb505077e3d5334
VisitFace/DemoForBsk/app/build/intermediates/res/merged/debug/layout/activity_main.xml
New file
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/colorBackground"
    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="@dimen/h70dp"
        android:layout_alignParentBottom="true"
        android:background="@color/colorPrimary"
        app:tabIndicatorHeight="@dimen/view_size_0"
        app:tabSelectedTextColor="#cccccc"
        app:tabTextColor="@android:color/white"
        app:tabTextAppearance="@style/MyTabLayoutTextAppearance"
        app:tabMaxWidth="0dp"
        app:tabGravity="fill"
        app:tabMode="fixed"
        >
    </android.support.design.widget.TabLayout>
    <android.support.v4.view.ViewPager
        android:id="@+id/viewpager"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@id/tab_layout"/>
</RelativeLayout>