acitvity_main
<?xml version="1.0" encoding="utf-8"?><LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/dao"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="450dp"
android:text="3秒"
android:textColor="#fff"
android:textSize="15sp" />
<Button
android:id="@+id/tiao"
android:textSize="15sp"
android:text="跳过"
android:textColor="#fff"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#404254"/>
</LinearLayout>
**
acitvity_show
**
<?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.DrawerLayout xmlns:android=“http://schemas.android.com/apk/res/android”
xmlns:app=“http://schemas.android.com/apk/res-auto”
xmlns:tools=“http://schemas.android.com/tools”
android:layout_width=“match_parent”
android:layout_height=“match_parent”
android:orientation=“vertical”
android:id="@+id/drawer"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<FrameLayout
android:id="@+id/frame"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<RadioGroup
android:id="@+id/radioGroup"
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal">
<RadioButton
android:id="@+id/radio0"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_gravity="center"
android:layout_weight="1"
android:background="@drawable/select1"
android:button="@null" />
<RadioButton
android:id="@+id/radio1"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_gravity="center"
android:layout_weight="1"
android:background="@drawable/select2"
android:button="@null" />
<RadioButton
android:id="@+id/radio2"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_gravity="center"
android:layout_weight="1"
android:background="@drawable/select3"
android:button="@null" />
</RadioGroup>
</LinearLayout>
<LinearLayout
android:layout_width="350dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="@drawable/vv"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/imageView"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_marginLeft="25dp"
android:layout_marginTop="25dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="40dp"
android:layout_marginTop="45dp"
android:text="凉城已无爱i"
android:textColor="#fff"
android:textSize="25sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="60dp"
android:text="我的超级会员"
android:textColor="#fff"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="30dp"
android:text="QQ钱包"
android:textColor="#fff"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="30dp"
android:text="个性装扮"
android:textColor="#fff"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="30dp"
android:text="我的收藏"
android:textColor="#fff"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="30dp"
android:text="我的相册"
android:textColor="#fff"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="30dp"
android:text="我的文件"
android:textColor="#fff"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="30dp"
android:text="我的名片夹"
android:textColor="#fff"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:layout_marginTop="30dp"
android:text="免流量特权"
android:textColor="#fff"
android:textSize="20sp" />
</LinearLayout>
</android.support.v4.widget.DrawerLayout>
**
fragment1
**
<?xml version="1.0" encoding="utf-8"?><android.support.design.widget.TabLayout
android:id="@+id/tabLayout"
android:layout_width="match_parent"
android:layout_height="100dp"></android.support.design.widget.TabLayout>
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"></android.support.v4.view.ViewPager>
**
fragment2
**
<?xml version="1.0" encoding="utf-8"?><LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_marginLeft="65dp"
android:layout_marginTop="5dp"
android:orientation="horizontal">
<android.support.design.widget.TabLayout
android:id="@+id/tabLayout1"
android:layout_width="wrap_content"
android:layout_height="100dp"
app:tabGravity="center"
app:tabSelectedTextColor="#ccc" />
<Button
android:id="@+id/bu1"
android:layout_width="wrap_content"
android:layout_height="100dp"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:background="#00dddd"
android:text="+"
android:textColor="#cc00FF"
android:textSize="65dp" />
</LinearLayout>
<android.support.v4.view.ViewPager
android:id="@+id/pager1"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"></android.support.v4.view.ViewPager>
**
frag1
**
<?xml version="1.0" encoding="utf-8"?><com.handmark.pulltorefresh.library.PullToRefreshListView
android:id="@+id/pullListView"
android:layout_width="match_parent"
android:layout_height="match_parent"></com.handmark.pulltorefresh.library.PullToRefreshListView>
**
frag2
**
<?xml version="1.0" encoding="utf-8"?><android.support.constraint.ConstraintLayout
xmlns:android=“http://schemas.android.com/apk/res/android” android:layout_width=“match_parent”
android:layout_height=“match_parent”>
<com.bwie.xlistviewlibrary.view.XListView
android:id="@+id/xListView"
android:layout_width="match_parent"
android:layout_height="wrap_content"></com.bwie.xlistviewlibrary.view.XListView>
</android.support.constraint.ConstraintLayout>
**
frag3## 标题
**
<?xml version="1.0" encoding="utf-8"?><com.youth.banner.Banner
android:id="@+id/banner"
android:layout_width="match_parent"
android:layout_height="400dp"
android:layout_marginTop="200dp"></com.youth.banner.Banner>
**
frag4 frag5 空白
**
**
list_item
**
<?xml version="1.0" encoding="utf-8"?><ImageView
android:id="@+id/image"
android:layout_width="150dp"
android:layout_height="150dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/text2"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/text3"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
**
list_items
**
<?xml version="1.0" encoding="utf-8"?><LinearLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/tv1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/tv2"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/tv3"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<ImageView
android:id="@+id/iv"
android:layout_width="150dp"
android:layout_height="150dp" />