问题:
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
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
熟悉css的都晓得这个,16进制的 如:#666666http://blog.sina.com.cn/s/blog_5816f6a101019imm.html这个是付值的,查找16进制的颜色对照表,self.view.backgroundColor = [selfcolorWithHexString...
分类:
移动开发 时间:
2014-06-15 21:35:07
阅读次数:
245
RI (Reverse Integration) / FI (Forward Integration)RI :child branch => parent branchFI :parent branch =>child branch
分类:
其他好文 时间:
2014-06-15 16:52:09
阅读次数:
216
php类的静态成员函数效率比类的普通成员函数的要高.例子: var2 = 'bbbbbbbbbbbbbbbb';} www.jbxue.compublic static function secho1(){echo self :: $var1 . '';}public function secho2...
分类:
Web程序 时间:
2014-06-15 09:42:51
阅读次数:
224
首先 下载源代码倒入runloop文件夹下的 四个文件即可AsyncSocket *socket=[[AsyncSocketalloc]initWithDelegate:self];NSError *error;[socket connectToHost:honPort:pwithTimeout:-...
分类:
其他好文 时间:
2014-06-15 00:58:09
阅读次数:
172
源码如下:#!/usr/bin/env pythonclass Bird(): def __init__(self): self.hungry = True def eat(self): if self.hung...
分类:
编程语言 时间:
2014-06-14 18:23:05
阅读次数:
242
添加删除SUBVIEW1. 添加[self.view addSubview:customView]; 2. 删除一个view上面所有的subviewfor(UIView *subview in [self.view subviews]) { [subview removeFromSupervi...
分类:
其他好文 时间:
2014-06-14 15:45:53
阅读次数:
146
You are self-motivated.As a small business owner,you won't hava a boss to tell you when to get to work.If that's a problem,keep your day job.
You can work with number.You will spend a fair amount of time keeping track of money expenses,revenues,taxs...
分类:
其他好文 时间:
2014-06-14 12:10:26
阅读次数:
253