文件名称:hdfyym
介绍说明--下载内容来自于网络,使用问题请自行百度
如何实现手机上手动滑动翻页效果呢?呵呵,在这里我们就给你们介绍一下吧。
一般实现这个特效会用到一个控件:ViewFlipper
<1>View切换的控件—ViewFlipper
这个控件是什么呢?请注意观看博文Android学习笔记之ViewFilpper 。
除了这个ViewFlipper,我们还需要了解一下ViewAnimator。它主要是为其中的View切换提供动画效果。
还会用到几个方法:
setInAnimation:设置View进入屏幕时候使用的动画。该方法有两个重载方法,即可以直接传入Animation对象,也可以传入定义的Animation文件的resourceID。
setOutAnimation:设置View退出屏幕时候使用的动画。使用方法和setInAnimation方法一样。 -How to realize the mobile phone on the manual sliding flip effect? Oh, here we will introduce you to the bar.
General implementation of this effect will be used to use a control: ViewFlipper
<1>View switching control- ViewFlipper
What is this control? Please pay attention to watch the blog Android study notes ViewFilpper.
In addition to this ViewFlipper, we also need to know about ViewAnimator. It is mainly for the View switch to provide animation effects.
Several methods will be used:
SetInAnimation: set View to enter the screen when using the animation. The method has two overloaded methods, that can be directly introduced into the Animation object, can also be introduced into the definition of the resourceID file Animation.
SetOutAnimation: set View to exit the screen when using the animation. The use of the method and the setInAnimation method is the same.
一般实现这个特效会用到一个控件:ViewFlipper
<1>View切换的控件—ViewFlipper
这个控件是什么呢?请注意观看博文Android学习笔记之ViewFilpper 。
除了这个ViewFlipper,我们还需要了解一下ViewAnimator。它主要是为其中的View切换提供动画效果。
还会用到几个方法:
setInAnimation:设置View进入屏幕时候使用的动画。该方法有两个重载方法,即可以直接传入Animation对象,也可以传入定义的Animation文件的resourceID。
setOutAnimation:设置View退出屏幕时候使用的动画。使用方法和setInAnimation方法一样。 -How to realize the mobile phone on the manual sliding flip effect? Oh, here we will introduce you to the bar.
General implementation of this effect will be used to use a control: ViewFlipper
<1>View switching control- ViewFlipper
What is this control? Please pay attention to watch the blog Android study notes ViewFilpper.
In addition to this ViewFlipper, we also need to know about ViewAnimator. It is mainly for the View switch to provide animation effects.
Several methods will be used:
SetInAnimation: set View to enter the screen when using the animation. The method has two overloaded methods, that can be directly introduced into the Animation object, can also be introduced into the definition of the resourceID file Animation.
SetOutAnimation: set View to exit the screen when using the animation. The use of the method and the setInAnimation method is the same.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ViewFlipper/
ViewFlipper/.classpath
ViewFlipper/.project
ViewFlipper/.settings/
ViewFlipper/.settings/org.eclipse.jdt.core.prefs
ViewFlipper/AndroidManifest.xml
ViewFlipper/assets/
ViewFlipper/bin/
ViewFlipper/bin/classes/
ViewFlipper/bin/classes/xiaosi/
ViewFlipper/bin/classes/xiaosi/ViewFlipper/
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$anim.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$attr.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$drawable.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$id.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$layout.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$string.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/ViewFlipperActivity.class
ViewFlipper/bin/classes.dex
ViewFlipper/bin/res/
ViewFlipper/bin/res/drawable-hdpi/
ViewFlipper/bin/res/drawable-hdpi/ic_launcher.png
ViewFlipper/bin/res/drawable-ldpi/
ViewFlipper/bin/res/drawable-ldpi/ic_launcher.png
ViewFlipper/bin/res/drawable-mdpi/
ViewFlipper/bin/res/drawable-mdpi/ic_launcher.png
ViewFlipper/bin/resources.ap_
ViewFlipper/bin/ViewFlipper.apk
ViewFlipper/gen/
ViewFlipper/gen/xiaosi/
ViewFlipper/gen/xiaosi/ViewFlipper/
ViewFlipper/gen/xiaosi/ViewFlipper/R.java
ViewFlipper/proguard.cfg
ViewFlipper/project.properties
ViewFlipper/res/
ViewFlipper/res/anim/
ViewFlipper/res/anim/push_left_in.xml
ViewFlipper/res/anim/push_left_out.xml
ViewFlipper/res/anim/push_right_in.xml
ViewFlipper/res/anim/push_right_out.xml
ViewFlipper/res/drawable-hdpi/
ViewFlipper/res/drawable-hdpi/a.jpg
ViewFlipper/res/drawable-hdpi/b.jpg
ViewFlipper/res/drawable-hdpi/c.jpg
ViewFlipper/res/drawable-hdpi/d.jpg
ViewFlipper/res/drawable-hdpi/e.jpg
ViewFlipper/res/drawable-hdpi/f.jpg
ViewFlipper/res/drawable-hdpi/g.jpg
ViewFlipper/res/drawable-hdpi/h.jpg
ViewFlipper/res/drawable-hdpi/ic_launcher.png
ViewFlipper/res/drawable-ldpi/
ViewFlipper/res/drawable-ldpi/ic_launcher.png
ViewFlipper/res/drawable-mdpi/
ViewFlipper/res/drawable-mdpi/ic_launcher.png
ViewFlipper/res/layout/
ViewFlipper/res/layout/main.xml
ViewFlipper/res/values/
ViewFlipper/res/values/strings.xml
ViewFlipper/src/
ViewFlipper/src/xiaosi/
ViewFlipper/src/xiaosi/ViewFlipper/
ViewFlipper/src/xiaosi/ViewFlipper/ViewFlipperActivity.java
ViewFlipper/说明.htm
ViewFlipper/.classpath
ViewFlipper/.project
ViewFlipper/.settings/
ViewFlipper/.settings/org.eclipse.jdt.core.prefs
ViewFlipper/AndroidManifest.xml
ViewFlipper/assets/
ViewFlipper/bin/
ViewFlipper/bin/classes/
ViewFlipper/bin/classes/xiaosi/
ViewFlipper/bin/classes/xiaosi/ViewFlipper/
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$anim.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$attr.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$drawable.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$id.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$layout.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R$string.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/R.class
ViewFlipper/bin/classes/xiaosi/ViewFlipper/ViewFlipperActivity.class
ViewFlipper/bin/classes.dex
ViewFlipper/bin/res/
ViewFlipper/bin/res/drawable-hdpi/
ViewFlipper/bin/res/drawable-hdpi/ic_launcher.png
ViewFlipper/bin/res/drawable-ldpi/
ViewFlipper/bin/res/drawable-ldpi/ic_launcher.png
ViewFlipper/bin/res/drawable-mdpi/
ViewFlipper/bin/res/drawable-mdpi/ic_launcher.png
ViewFlipper/bin/resources.ap_
ViewFlipper/bin/ViewFlipper.apk
ViewFlipper/gen/
ViewFlipper/gen/xiaosi/
ViewFlipper/gen/xiaosi/ViewFlipper/
ViewFlipper/gen/xiaosi/ViewFlipper/R.java
ViewFlipper/proguard.cfg
ViewFlipper/project.properties
ViewFlipper/res/
ViewFlipper/res/anim/
ViewFlipper/res/anim/push_left_in.xml
ViewFlipper/res/anim/push_left_out.xml
ViewFlipper/res/anim/push_right_in.xml
ViewFlipper/res/anim/push_right_out.xml
ViewFlipper/res/drawable-hdpi/
ViewFlipper/res/drawable-hdpi/a.jpg
ViewFlipper/res/drawable-hdpi/b.jpg
ViewFlipper/res/drawable-hdpi/c.jpg
ViewFlipper/res/drawable-hdpi/d.jpg
ViewFlipper/res/drawable-hdpi/e.jpg
ViewFlipper/res/drawable-hdpi/f.jpg
ViewFlipper/res/drawable-hdpi/g.jpg
ViewFlipper/res/drawable-hdpi/h.jpg
ViewFlipper/res/drawable-hdpi/ic_launcher.png
ViewFlipper/res/drawable-ldpi/
ViewFlipper/res/drawable-ldpi/ic_launcher.png
ViewFlipper/res/drawable-mdpi/
ViewFlipper/res/drawable-mdpi/ic_launcher.png
ViewFlipper/res/layout/
ViewFlipper/res/layout/main.xml
ViewFlipper/res/values/
ViewFlipper/res/values/strings.xml
ViewFlipper/src/
ViewFlipper/src/xiaosi/
ViewFlipper/src/xiaosi/ViewFlipper/
ViewFlipper/src/xiaosi/ViewFlipper/ViewFlipperActivity.java
ViewFlipper/说明.htm
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.