没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
5页
先看看效果图: activity_main.xml <RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android xmlns:tools=http://schemas.android.com/tools android:layout_width=match_parent android:layout_height=match_parent tools:context=com.example.welcome.MainActivity> <android.support.v4
资源推荐
资源详情
资源评论
Android实现实时滑动实现实时滑动ViewPager的的2种方式种方式
先看看效果图:
activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.welcome.MainActivity" >
<android.support.v4.view.ViewPager
android:id="@+id/mViewPager"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="30dp" >
<com.example.welcome.PagerCursor
android:id="@+id/pagerCursor"
android:layout_width="fill_parent"
android:layout_height="5dp" />
</FrameLayout>
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="30dp" >
<com.example.welcome.CustomeDotGroup
android:id="@+id/ll_point_group"
android:layout_width="fill_parent"
android:layout_height="10dp"
android:orientation="horizontal" >
</com.example.welcome.CustomeDotGroup>
<View
android:id="@+id/red_point"
android:layout_width="10dp"
android:layout_height="10dp"
android:background="@drawable/point_red" />
</FrameLayout>
资源评论
weixin_38697063
- 粉丝: 5
- 资源: 957
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功