前期准备:关于什么是Hierarchy Viewer,请查看官方文档:http://developer.android.com/tools/debugging/debugging-ui.html。个人理解:Hierarchy Viewer能获得当前手机实时的UI信息,给界面设计人员和自动化测试人员带...
分类:
移动开发 时间:
2015-03-05 18:34:31
阅读次数:
178
首先我们先来看下官方API对SurfaceView的介绍
SurfaceView的API介绍
Provides a dedicated drawing surface embedded inside of a view hierarchy. You can control the format of this surface and, if you like, its size; the Su...
分类:
移动开发 时间:
2015-03-05 10:55:53
阅读次数:
248
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains ...
分类:
其他好文 时间:
2015-02-26 11:24:03
阅读次数:
103
声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将追究法律责任!原文链接:http://www.cnblogs.com/jiangzhengjun/p...
分类:
其他好文 时间:
2015-02-22 15:44:10
阅读次数:
267
这篇文章将收集unity的相关技巧,会不断地更新内容。
1)保存运行中的状态
unity在运行状态时是不能够保存的。但在运行时编辑的时候,有时会发现比较好的效果想保存。这时可以在 “Hierarchy”中复制相关对象树,暂停游戏后替换原来的,就可以了。
2)Layer的用法
LayerMask.NameToLayer("Ground"); // 通过名字获取layer【狗...
分类:
编程语言 时间:
2015-02-11 21:56:18
阅读次数:
430
1runOnUiThread(new Runnable() { @Override public void run() { // TODO Auto-generated ...
分类:
移动开发 时间:
2015-02-11 20:38:27
阅读次数:
198
Filesystem Hierarchy Standard (文件系统层次标准,FHS)标准依据文件系统使用的频繁与否与是否允讲使用者随意更动, 而将目录定义成四种交互作用的形态,具体如下: 可分享的:可以分享给其他系统挂载使用的目录,所以包括执行文件与用户的邮件等数据, 是能够分享给网络上其...
分类:
其他好文 时间:
2015-02-08 19:23:42
阅读次数:
159
今天测试视频资讯客户端,跟新UI是 LogCat 控制台出现了这样的错误:Only the original thread that created a view hierarchy can touch its views. ?网上搜了一下才发现:原来android中相关的view和控件不是线...
分类:
移动开发 时间:
2015-02-02 12:49:07
阅读次数:
172
添加地形游戏对象 【Hierarchy-Create-Terrain】 为了看的看清楚,在添加一个平行光 【Hierarchy-Create-Direction light】 导入地形包 【Assets-Import Package- Terrain As...
分类:
编程语言 时间:
2015-02-02 00:26:29
阅读次数:
388
时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a pedigree tree. Your job is to count those famil...
分类:
其他好文 时间:
2015-01-31 08:18:02
阅读次数:
182