上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 55 下一页
一。分类 Tweened Animations:补间动画,也就是某一张图或者其他对象,进行旋转、变形等动画;Frame-By-Frame Animations:是多张图片进行一帧一帧的变化。二。补间动画Tweened Animations有4种样式,分别为Alpha,Rotate,Translate,Scale,分别表示渐变,旋转,位移,缩放Alpha:因为是渐变,所以需要给出改变之前的透明度,改变之后的透明度,总共改变的时间。Rotate:旋转,必定要知道旋转的圆心在哪边,所以要定义圆心的X与Y轴,以及转动的时间,转动的角度等。Translate:位移,即要知道原来对象的XY轴和改变后的XY Read More
posted @ 2014-03-31 16:02 等风来。。 Views(285) Comments(0) Diggs(0) Edit
getAction()returns a pointer id and an event (i.e., up, down, move) information.getActionMasked()returns just an event (i.e., up, down, move) information. Other info is masked out.For example:getAction()returns0x0105.getActionMasked()will return0x0005, which is 0x0105 &&ACTION_MASK.The value Read More
posted @ 2014-03-31 15:06 等风来。。 Views(259) Comments(0) Diggs(0) Edit
1、前景色填充ALT+DEL 2、背景色填充CTRL+DEL 3、按D键可以以恢复默认的前景色(黑)、背景色(白)。 4、按X键可以切换前景色、背景色。 Read More
posted @ 2014-03-27 23:35 等风来。。 Views(212) Comments(0) Diggs(0) Edit
一。加色与减色电脑显示器和电视是加色法最常见的形式,而在油漆、颜料和彩色滤光片会用减色。二。怎么把背景变成透明:其实就是抠图。1.魔术棒+delete,缺点:应用于边界明显的图片,否则容差不好控制 优点:快2.背景橡皮擦,和魔棒一个性质,锯齿严重,抠图不干净3.抽出滤镜,缺点:出现抠图太过智能化,抠... Read More
posted @ 2014-03-22 00:13 等风来。。 Views(135) Comments(0) Diggs(0) Edit
public static class ArrayListFragment extends ListFragment { int mNum; /** * Create a new instance of CountingFragment, providing "num" * as an argument. */ static ArrayListFragment newInstance(int num) { //设计模式 ... Read More
posted @ 2014-03-20 18:12 等风来。。 Views(548) Comments(0) Diggs(0) Edit
onCreateOptionsMenu 第一次创建时调用onPrepareOptionsMenu 运行时每次点击菜单按钮时都会调用这个函数,可以动态改变菜单项public booleanonPrepareOptionsMenu(Menumenu) Prepare the Screen's standard options menu to be displayed. This is called right before the menu is shown, every time it is shown.You can use this method to efficiently ena Read More
posted @ 2014-03-20 12:05 等风来。。 Views(491) Comments(0) Diggs(0) Edit
用户名:axureuser序列号:8wFfIX7a8hHq6yAy6T8zCz5R0NBKeVxo9IKu+kgKh79FL6IyPD6lK7G6+tqEV4LG Read More
posted @ 2014-03-10 21:53 等风来。。 Views(205) Comments(0) Diggs(0) Edit
class Tank { int level; public Tank(int level){ this.level = level; }} public class Assignment { public static void main(String[] args) { Tank t1 = new Tank(9); Tank t2 = new Tank(47); System.out.println("t1.level: " + ... Read More
posted @ 2014-03-06 23:02 等风来。。 Views(170) Comments(0) Diggs(0) Edit
posted @ 2014-03-06 09:24 等风来。。 Views(129) Comments(0) Diggs(0) Edit
1.npm install -g cordova On Windows, npm can usually be found atC:\Users\username\AppData\Roaming\npmand on Unix at/usr/local/share/npm.2.cordova create hello com.example.hello HelloWorld安装ant并设置classpath3. $ cordova platform add android在path中要加入android sdk 目录D:\android\sdk\tools;4.$ cordova emulate Read More
posted @ 2014-03-04 11:19 等风来。。 Views(441) Comments(0) Diggs(0) Edit
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 55 下一页
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------