# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
如题,网上找了好多都是抄来抄去的,无奈,还是自己写的最靠谱。用ViewPager实现手动切换,用Timer + Handler实现自动切换,左右完美无限滑动效果非常平滑,不卡,哈哈~Fragment里面我是写了文字,大家根据自己的需求放图片,设置点击事件等等。代码都有详细的注释,如果导入工程之后发现有中文乱码请设置成GBK,ViewPager有错误请检查android-support-v4.jar是否存在。 希望对大家有所帮助,有问题请加我QQ,UI设计方面大家一起进步!
资源推荐
资源详情
资源评论
收起资源包目录
AdsDemo.zip (55个子文件)
AdsDemo
bin
classes.dex 864KB
res
drawable-hdpi
ic_launcher.png 6KB
drawable-xhdpi
ic_launcher.png 9KB
drawable-xxhdpi
ic_launcher.png 17KB
drawable-mdpi
ic_launcher.png 3KB
AdsDemo.apk 271KB
jarlist.cache 120B
dexedLibs
android-support-v4-6d42a51622ee5837bb881823e7eb5770.jar 206KB
annotations-6baad2a5e8466ce3a6c07433e83c6afc.jar 943B
viewpagerindicator-library-27c5a32ceb83a2f1dd5530b8315153da.jar 23KB
android-support-v4-b2b32cae4de8b5e8b2e7137b6d74feff.jar 206KB
classes
com
example
adsdemo
MainActivity.class 3KB
BuildConfig.class 347B
MainActivity$3.class 761B
MainActivity$2.class 2KB
MainActivity$1.class 687B
FragmentAdapter.class 1KB
R$layout.class 438B
R$id.class 447B
R$drawable.class 410B
R$dimen.class 416B
R$attr.class 343B
R.class 585B
FragmentZero.class 2KB
FragmentOne.class 2KB
FragmentTwo.class 2KB
R$style.class 402B
resources.ap_ 40KB
AndroidManifest.xml 833B
res
drawable-ldpi
values-v11
styles.xml 334B
values-v14
styles.xml 391B
drawable-hdpi
ic_launcher.png 7KB
drawable-xhdpi
ic_launcher.png 12KB
drawable-xxhdpi
ic_launcher.png 24KB
values
values-sw720dp-land
dimens.xml 277B
drawable-mdpi
ic_launcher.png 4KB
values-sw600dp
dimens.xml 203B
layout
activity_main.xml 1KB
fragment.xml 575B
proguard-project.txt 781B
ic_launcher-web.png 50KB
assets
gen
com
example
adsdemo
BuildConfig.java 161B
R.java 2KB
.settings
org.eclipse.jdt.core.prefs 177B
src
com
example
adsdemo
FragmentAdapter.java 840B
FragmentZero.java 1KB
FragmentTwo.java 1KB
MainActivity.java 3KB
FragmentOne.java 1KB
.project 843B
.classpath 475B
project.properties 563B
AndroidManifest.xml 833B
libs
android-support-v4.jar 543KB
lint.xml 53B
共 55 条
- 1
蒋悦斌2
- 粉丝: 10
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页