原来一直对动画一知半解,只知道按照网上的方法会用就行了,但是自己写起来感觉确实有点费劲,今天终于研究了代码实现,一下子感觉清晰多了。先把总结如下,代码中有详细的注释。
动画分类
1.Peoperty Animation
这个动画是Android3.0之后推出的目前用处不大。
2.View Animation
这类动画也叫twe...
分类:
移动开发 时间:
2014-06-20 12:08:56
阅读次数:
289
Zend\View\Renderer\PhpRenderer::render: Unable to render template "wap/index/get-vhomeinfo"; resolver could not resolve to a file
原因是get-vhomeinfo在代码中是getVhomeinfo,不能有大写...
分类:
其他好文 时间:
2014-06-20 11:57:54
阅读次数:
300
1、WebView 显示进度条 在onCreate事件里写:[java]view
plaincopyWebViewmyWebView=(WebView)findViewById(R.id.webView1);finalActivityactivity=this;myWebView.setWebChr...
分类:
Web程序 时间:
2014-06-13 13:24:57
阅读次数:
458
昨天在给客户端做天气展示页面的时候,发现很多app的天气页面背景图片都会缓慢移动,形成了一种3d的感觉。例如下雨,静态图片缓慢移动,雨滴位置变换感觉就真的在下雨。云朵的移动也很酷。于是研究了一下午。写了一个自定义view控件。
我的自定义控件继承了view,重写ondraw方法。本人C#转andr....
分类:
移动开发 时间:
2014-06-11 23:29:07
阅读次数:
428
1.下载并安装最新的bind包yum install –y bind bind-chroot
bind-utis2.配置named.confacl internals{ 127.0.0.0/8; 192.168.0.0/24;};view
"internal" { m...
分类:
其他好文 时间:
2014-06-11 22:51:09
阅读次数:
331
//新增 this.dataGridView1.AllowUserToAddRows = true;
if (iTag == 1) { //默认自动编号排序
dataGridView1.Columns["taskId"].HeaderCell.SortGlyphDirection = SortOr....
create user frame identified by tiger;grant create
session to frame;grant create table to frame;grant create tablespace to
frame;grant create view to ...
分类:
数据库 时间:
2014-06-11 13:00:15
阅读次数:
283
在Android应用中,经常需要手势滑动操作,比如上下滑动,或左右方向滑动,处理手势滑动通常有两种方法:一种是单独实现setOnTouchListener监听器来,另一种是构建手势探测器第一种方法,就是在要实现滑动的View中,实现OnTouchListener监听事件,然后判断KeyDonw和Ke...
分类:
移动开发 时间:
2014-06-11 10:26:06
阅读次数:
251
首先通过VMWare修改虚拟机参数,增加虚拟机磁盘空间(请参考相关资料),其次在虚拟机中加入扩容的磁盘空间。
1、使用parted查看可分配的空间
[root@stest ~]# parted
GNU Parted 1.8.1
使用 /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(part...
分类:
系统相关 时间:
2014-06-07 15:34:37
阅读次数:
296