码迷,mamicode.com
首页 >  
搜索关键字:parent    ( 6866个结果
5.ScrollView无法填充满屏幕
问题:     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_weight
在layout_width設置為fill_parent的時候,layout_weight所代表的是你的控件要優先盡可能的大,但這個大是有限度的,即fill_parent. 在layout_width設置為wrap_content的時候,layout_weight所代表的是你的控件要優先盡可能的小,但...
分类:其他好文   时间:2014-06-15 22:57:20    阅读次数:325
FI & RI
RI (Reverse Integration) / FI (Forward Integration)RI :child branch => parent branchFI :parent branch =>child branch
分类:其他好文   时间:2014-06-15 16:52:09    阅读次数:216
尽量理解xml 中LayoutParams的wrap_content, match_parent, 和具体值
概述:本文试图分析理解view 的measure 的过程,在分析过程中重点分析了LayoutParams 中MATCH_PARENT和MATCH_PARENT 的对应关系;onMeasure 默认值的计算过程;解释了onMeasure 接口中的注释中的问题,并提出一个问题:ViewRootImpl 是怎么创建的? 留作下篇引子。最后,讨论如何重写onMeasure()方法。 LayoutPara...
分类:其他好文   时间:2014-06-15 09:58:12    阅读次数:440
【CoreData】parent-child关系ManagedObjectContext应用
parent-child关系ManagedObjectContext应用
分类:其他好文   时间:2014-06-12 14:07:39    阅读次数:245
PHP OPP 和模式 (2) - 静态变量、属性和方法及延迟绑定
static:: 使我们不再需要使用 self:: 和 parent:: 。当希望指向最终的实现功能的类时,就可以使用static,这个限定符会在代码执行之前立即计算出继承层次结构上最后那个类的成员。这一过程被称作延迟绑定。
分类:Web程序   时间:2014-06-10 11:28:57    阅读次数:287
android ListView 多次调用 getView方法
ListView 的高度 必须要设置成一个明确的值 或者match_parent 不然就会调用多次getView方法
分类:移动开发   时间:2014-06-09 18:51:50    阅读次数:253
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!