- 博客(10)
- 资源 (1)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 使用easyx中的putimage函数实现无背景贴图
1,待解决的问题如果我们要在背景图片贴上小图片玫瑰花会出现什么样的效果背景图片 玫瑰花 贴图之后的图片(玫瑰花图片我有意缩小,为了与背景看起来融洽些) 直接上代码: #include<graphics.h>#include <stdio.h>int main(void){ IMAGE backgroundimg;//存储背景图片 IMAGE flower;
2015-03-29 00:55:00
32869
6
转载 Android中Parcelable接口用法
1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must also have a static field called CREATOR, which
2016-04-28 20:12:48
313
转载 Android ImageView的scaleType属性与adjustViewBounds属性
ImageView的scaleType的属性有好几种,分别是matrix(默认)、center、centerCrop、centerInside、fitCenter、fitEnd、fitStart、fitXYandroid:scaleType="center"保持原图的大小,显示在ImageView的中心。当原图的size大于ImageView的size,超过部分
2016-04-28 14:10:08
322
转载 Android DownLoadManager的使用
从Android 2.3(API level 9)开始Android用系统服务(Service)的方式提供了Download Manager来优化处理长时间的下载操作。Download Manager处理HTTP连接并监控连接中的状态变化以及系统重启来确保每一个下载任务顺利完成。在大多数涉及到下载的情况中使用Download Manager都是不错的选择,特别是当用户切换不
2016-04-27 20:39:30
447
转载 自定义View
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/24252901很多的Android入门程序猿来说对于Android自定义View,可能都是比较恐惧的,但是这又是高手进阶的必经之路,所有准备在自定义View上面花一些功夫,多写一些文章。先总结下自定义View的步骤:1、自定义View的属性2、在View的构
2016-04-27 20:09:49
387
转载 Android AnimationSet详解
3.0以前,android支持两种动画模式,tween animation,frame animation,在android3.0中又引入了一个新的动画系统:property animation,这三种动画模式在SDK中被称为property animation,view animation,drawable animation。 1. View Animation(Tween Anima
2016-04-22 15:28:59
2951
原创 Animation.setFillAfter的作用
setFillAfter(boolean fillAfter) 在Android developer上的文档:If fillAfter is true, the transformation that this animation performed will persist when it is finished.但是,animation只是操作View 的位图表示(b
2016-04-22 15:22:36
6968
转载 Android ViewAnimation 使用详解
一、动画类型Android的animation由四种类型组成:alpha、scale、translate、rotateXML配置文件中alpha渐变透明度动画效果scale渐变尺寸伸缩动画效果translate画面转换位置移动动画效果rotate画面转
2016-04-22 14:46:23
406
原创 Android Property Animation
1、概述Android提供了几种动画类型:View Animation 、Drawable Animation 、Property Animation 。View Animation相当简单,不过只能支持简单的缩放、平移、旋转、透明度基本的动画,且有一定的局限性。比如:你希望View有一个颜色的切换动画;你希望可以使用3D旋转动画;你希望当动画停止时,View的位置就是当前的位置;这些Vi
2016-04-22 14:41:43
1255
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人