本月博客排行
-
第1名
arpenker -
第2名
kaizi1992 -
第3名
wy_19921005
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - wallimn
- vipbooks
- gashero
- wy_19921005
- benladeng5225
- fantaxy025025
- javashop
- e_e
- tanling8334
- arpenker
- sam123456gz
- kaizi1992
- zysnba
- xiangjie88
- lemonhandsome
- ganxueyun
- xyuma
- Xeden
- wangchen.ily
- zhanjia
- jh108020
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- ajinn
- daizj
- xpenxpen
- wjianwei666
- ranbuijj
- 喧嚣求静
- kingwell.leng
- silverend
- lchb139128
- kristy_yy
- jveqi
- lich0079
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- lxguy
- zhangjijun
- lyndon.lin
最新文章列表
Android之Animation<2>
Animations的第二种使用方法
1.在res文件夹下新建一个anim的 文件夹;
2.创建xml文件,首先加入set便签,改标签如下:
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/ ...
android之Animation<1>
public class MainActivity extends Activity {
private ImageView image;
private Button alpha_btn, rotate_btn, scale_btn, translate_btn;
@Override
protected void onCreate(Bundle savedInstan ...
Animation RotateAnimation详解
fromDegress为0,则从view本来的位置绕着旋转点,旋转toDegress度,若fromDegress为90,
toDegress为180,则view瞬间跳转到以旋转90度的位置,然后再顺时针旋转90度。
1.RotateAnimation(float fromDegrees, float toDegrees)
默认的旋转点为view的左上角
X轴顺时针 ...
android之animation(一)
animations:动画。
新知识点介绍:animations是一系列的动画效果,这些效果可以运用在绝大数控件上面。
animations总的说来可以分为两类:
1、Tweened Animations:包括旋转、移动、伸展、淡入淡出等效果。
2、Frame-by-Frame Animations:这个可以创建一个Drawable序列,可以一个一个的显示。
这次介绍第一类动 ...