为 Activity 设置切换动画我们知道,我们可以在 AndroidManifest.xml 文件中,通过 android:theme 属性设置 Activity 的主题。主题中定义了关于 Activity 外观的很多特性。同时,主题中还可以定义 Activity 的切换动画。这是应用 Activ...
分类:
移动开发 时间:
2014-07-19 16:26:26
阅读次数:
318
For android system, of course you can custom your own style and theme, but you can't break compatibility with AOSP.We should follow AOSP design, and d...
分类:
其他好文 时间:
2014-07-19 16:22:00
阅读次数:
231
1.download latest jqury http://jquery.com/download/2.download latest jquery.ui, Theme select "Blitzer" http://jqueryui.com/download/#!zThemeParams=5d0...
分类:
Web程序 时间:
2014-07-18 17:20:32
阅读次数:
496
Requirement-Driven Linux Shell ProgrammingRequirement-Driven Linux Shell ProgrammingTable of Contents1. Where can I find the basic Material about Linu...
分类:
系统相关 时间:
2014-07-18 16:19:12
阅读次数:
403
Therefore, a person who applies for a longer time than other bags? Other materials. In general, heavy canvas material is resistant to water and a grea...
分类:
其他好文 时间:
2014-07-18 15:05:26
阅读次数:
317
Theme Section
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1114 Accepted Submission(s): 579
Problem Description
It's time for...
分类:
其他好文 时间:
2014-07-18 12:19:26
阅读次数:
207
有些效果是用substance的材质,但是材质上的属性无法用平常的Material方法调用,需要ProceduralMaterial去调用,
using UnityEngine;
using System.Collections;
public class TestProceduralMaterial : MonoBehaviour {
public GameObject TestCube;...
分类:
其他好文 时间:
2014-07-17 21:08:23
阅读次数:
438
打开 Atlas Maker:NGUI -> Open -> Atlas Maker新建一个 "Icon Atlas"生成3个东西:分别是 png、prefab、material。这个 UIAtlas 就是记住了所有图片的x,y,w,h,等信息 拷贝这3个东西, atlas 就可以到处用了生成好之后...
分类:
其他好文 时间:
2014-07-16 15:23:46
阅读次数:
289
函数地址:hook_preprocess_HOOK
1 首先解释下hook_preprocess_HOOK这个钩子的含义:
hook
_ preprocess _ HOOK
[module]
_ preprocess _ [theme hook name]
自定义的模块名字 ...
分类:
其他好文 时间:
2014-07-15 12:39:45
阅读次数:
191
Views and Shadows: elevation是构成控件阴影的基本属性。通过设置较高的Z值可以接受更大的阴影,阴影只能投射到Z=0的平面上。View Elevation 控件的Z值,是由两个值组成的:高度和位移。高度是固有的属性,位移可以用于创建动画。 Z = elevation +...
分类:
其他好文 时间:
2014-07-14 21:47:09
阅读次数:
257