今年6月的Google I/O大会上,Android L的初次见面我相信让会让很多android粉丝有些小激动和小期待,当然作为开发者的我来说,激动不言而喻,毕竟这是自08年以来改变最大的一个版本。新的设计语言(Material Design),5000多个新增api。废话不多说,今天要说的基本都是在Android5.0中很常见,也算是对自己学习的一种记录。
1.CardView
顾名思义,C...
分类:
移动开发 时间:
2014-12-18 15:16:56
阅读次数:
315
activity 想要窗口化 在AndroidManifest.xml 设置 theme 属性
android:name="zicox.ui.activity.SearchPrinter"
android:theme="@android:style/Theme.Dialog">
其实影藏 acti...
分类:
移动开发 时间:
2014-12-18 12:04:50
阅读次数:
259
iterm2就不说了,Mac下非常好用的终端,这里就先谈谈如何给其增加配色,效果如下图可以来这下载theme :http://iterm2colorschemes.com/1.先编辑你的profile来添加如下信息 : vim ~/.bash_profile# Set CLICOLOR if you...
分类:
系统相关 时间:
2014-12-17 14:34:07
阅读次数:
784
Material Design是Google在2014年的I/O大会上推出的全新设计语言。Material Design是基于Android 5.0(API level 21)的,兼容5.0以下的设备时需要使用版本号v21.0.0以上的support v7包中的appcpmpat....
分类:
移动开发 时间:
2014-12-17 12:53:58
阅读次数:
280
直接上代码: /// /// 更改模型材质 /// /// 要更改的类型如【Color,Texture,Material】 /// Transform数组 /// private void UpdateModelMaterial(Transform[]...
分类:
其他好文 时间:
2014-12-16 20:58:00
阅读次数:
171
最近的一些小的update:
1.normal map VS bump map
2.material LOD 细节更新
3.UV坐标系
分类:
其他好文 时间:
2014-12-16 13:10:45
阅读次数:
281
下载 http://pan.baidu.com/s/1c0o1HKW解压到eclipse的dropins下安装 http://eclipse-color-theme.github.com/update插件,在 window -> general -> appearance 中设置 Theme在 wi...
分类:
系统相关 时间:
2014-12-16 13:10:35
阅读次数:
163
public final class
Resources.Theme
extends Object
java.lang.Object
?
android.content.res.Resources.Theme
Class Overview
This class holds the current attribu...
分类:
其他好文 时间:
2014-12-15 23:37:53
阅读次数:
289
二分长度k 长度大于等于k的分成一组 每组sa最大的和最小的距离大于k 说明可行
#include
#include
#include
using namespace std;
const int maxn = 20010;
int s[maxn];
int sa[maxn];
int t[maxn], t2[maxn], c[maxn];
int rank[maxn], height[m...
分类:
编程语言 时间:
2014-12-15 19:05:57
阅读次数:
214
1. Starting from the Material Requirements Planning node, choose Planning Total planning As background job.The Total planning: Variants screen appears...
分类:
其他好文 时间:
2014-12-15 17:16:49
阅读次数:
184