基本信息
源码名称:ViewPager滑动效果
源码大小:1.48M
文件格式:.zip
开发语言:Java
更新时间:2015-06-15
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

        可以通过滑动或者点击下方图标进入另一个Fragment页面。

        

        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@ id/LinearLayout1"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".MainActivity" >

    
     <android.support.v4.view.ViewPager
        android:id="@ id/vPager"
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_gravity="center"
        android:layout_weight="1.0"
        android:background="#000000"
        android:flipInterval="30"
        android:persistentDrawingCache="animation" 
        />
    
   
    <ImageView 
    android:layout_width="match_parent"
    android:layout_height="1dp"
    android:src="@drawable/aoc"
    />
     
<LinearLayout
   android:orientation="horizontal"  
        android:layout_width="match_parent"  
        android:layout_height="55dp"  
        android:background="#FCFCFC" >  
  
        <RelativeLayout  
            android:id="@ id/weixin_layout"  
            android:layout_width="0dp"  
            android:layout_height="match_parent"  
            android:layout_weight="1" >  
  
            <LinearLayout  
                android:layout_width="match_parent"  
                android:layout_height="wrap_content"  
                android:layout_centerVertical="true"  
                android:orientation="vertical" >  
                
  
                <ImageView  
                    android:id="@ id/weixin_img"  
                    android:layout_width="30dp"  
                    android:layout_height="30dp"  
                    android:layout_gravity="center_horizontal"  
                    android:src="@drawable/ahk" />  
  
                <TextView  
                    android:id="@ id/weixin_txt"  
                    android:layout_width="wrap_content"  
                    android:layout_height="wrap_content"  
                    android:layout_gravity="center_horizontal"  
                    android:text="店铺"  
                    android:textColor="#999999" />  
            </LinearLayout>  
        </RelativeLayout>  
        
       <RelativeLayout  
            android:id="@ id/tongxunlu_layout"  
            android:layout_width="0dp"  
            android:layout_height="match_parent"  
            android:layout_weight="1" >  
  
            <LinearLayout  
                android:layout_width="match_parent"  
                android:layout_height="wrap_content"  
                android:layout_centerVertical="true"  
                android:orientation="vertical" >  
                
  
                <ImageView  
                    android:id="@ id/tongxunlu_img"  
                    android:layout_width="30dp"  
                    android:layout_height="30dp"  
                    android:layout_gravity="center_horizontal"  
                    android:src="@drawable/ahi" />  
  
                <TextView  
                    android:id="@ id/tongxunlu_txt"  
                    android:layout_width="wrap_content"  
                    android:layout_height="wrap_content"  
                    android:layout_gravity="center_horizontal"  
                    android:text="广场"  
                    android:textColor="#999999" />  
            </LinearLayout>  
        </RelativeLayout>
        
       
       <RelativeLayout  
            android:id="@ id/faxian_layout"  
            android:layout_width="0dp"  
            android:layout_height="match_parent"  
            android:layout_weight="1" >  
  
            <LinearLayout  
                android:layout_width="match_parent"  
                android:layout_height="wrap_content"  
                android:layout_centerVertical="true"  
                android:orientation="vertical" >  
                
  
                <ImageView  
                    android:id="@ id/faxian_img"
                    android:layout_width="30dp"
                    android:layout_height="30dp"
                    android:layout_gravity="center_horizontal"  
                    android:src="@drawable/ahm" />  
  
                <TextView  
                    android:id="@ id/faxian_txt"  
                    android:layout_width="wrap_content"  
                    android:layout_height="wrap_content"  
                    android:layout_gravity="center_horizontal"  
                    android:text="订单"  
                    android:textColor="#999999" />  
            </LinearLayout>  
        </RelativeLayout>
        
       
       <RelativeLayout  
            android:id="@ id/me_layout"  
            android:layout_width="0dp"  
            android:layout_height="match_parent"  
            android:layout_weight="1" >  
  
            <LinearLayout  
                android:layout_width="match_parent"  
                android:layout_height="wrap_content"  
                android:layout_centerVertical="true"  
                android:orientation="vertical" >  
                
  
                <ImageView  
                    android:id="@ id/me_img"  
                    android:layout_width="30dp"  
                    android:layout_height="30dp"  
                    android:layout_gravity="center_horizontal"  
                    android:src="@drawable/aho" />  
  
                <TextView  
                    android:id="@ id/me_txt"  
                    android:layout_width="wrap_content"  
                    android:layout_height="wrap_content"  
                    android:layout_gravity="center_horizontal"  
                    android:text="个人中心"  
                    android:textColor="#999999" />  
            </LinearLayout>  
        </RelativeLayout>
                
        
  </LinearLayout>
     
     
</LinearLayout>