问题:
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_width="match_parent"
androi...
分类:
其他好文 时间:
2014-06-19 09:36:53
阅读次数:
199
publicclassTest
{
publicstaticvoidmain(String[]args)throwsException{
Childrenc=newChildren();
c.show();
}
}
classParent
{
publicvoidshow(){
stepOne();
stepTwo();
}
voidstepOne(){
System.out.println("parent.stepOne()");
}
voidstepTwo(){
/..
分类:
其他好文 时间:
2014-06-16 15:12:59
阅读次数:
178
if (_type == "js") {//js预编译 var _script = "_define(function(exports,module){\n"; _script += "var $parent = \""...
分类:
其他好文 时间:
2014-06-15 23:52:57
阅读次数:
310
在layout_width設置為fill_parent的時候,layout_weight所代表的是你的控件要優先盡可能的大,但這個大是有限度的,即fill_parent. 在layout_width設置為wrap_content的時候,layout_weight所代表的是你的控件要優先盡可能的小,但...
分类:
其他好文 时间:
2014-06-15 22:57:20
阅读次数:
325
RI (Reverse Integration) / FI (Forward Integration)RI :child branch => parent branchFI :parent branch =>child branch
分类:
其他好文 时间:
2014-06-15 16:52:09
阅读次数:
216
概述:本文试图分析理解view 的measure 的过程,在分析过程中重点分析了LayoutParams 中MATCH_PARENT和MATCH_PARENT 的对应关系;onMeasure 默认值的计算过程;解释了onMeasure 接口中的注释中的问题,并提出一个问题:ViewRootImpl 是怎么创建的? 留作下篇引子。最后,讨论如何重写onMeasure()方法。
LayoutPara...
分类:
其他好文 时间:
2014-06-15 09:58:12
阅读次数:
440
parent-child关系ManagedObjectContext应用
分类:
其他好文 时间:
2014-06-12 14:07:39
阅读次数:
245
static:: 使我们不再需要使用 self:: 和 parent::
。当希望指向最终的实现功能的类时,就可以使用static,这个限定符会在代码执行之前立即计算出继承层次结构上最后那个类的成员。这一过程被称作延迟绑定。
分类:
Web程序 时间:
2014-06-10 11:28:57
阅读次数:
287
ListView 的高度 必须要设置成一个明确的值 或者match_parent
不然就会调用多次getView方法
分类:
移动开发 时间:
2014-06-09 18:51:50
阅读次数:
253