学习安卓布局前,先了解三个属性值:1、fill_parent: 设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间2、match_parent: Android2.2中match_parent和fill_parent是一个意思 .两个参数意思一...
分类:
移动开发 时间:
2014-10-29 00:09:54
阅读次数:
316
http://stackoverflow.com/questions/13463197/the-android-emulator-does-not-start-avdYou ran into the same problem that I did, outlined inthis issue. Fi...
分类:
移动开发 时间:
2014-10-28 23:54:34
阅读次数:
295
Go does not have classes. However, you can define methods on struct types.Themethod receiverappears in its own argument list between thefunckeyword an...
分类:
其他好文 时间:
2014-10-28 19:32:58
阅读次数:
121
??
A variable of a
reference type does not contain its data directly; it contains a reference to its data.
When you pass a reference-type parameter by value, it is possible to change the data poin...
启动 Eclipse 时,直接报错The JVM shared library "/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib"does not contain the JNI_CreateJavaVM symbol.Unable to find ...
分类:
数据库 时间:
2014-10-28 13:56:41
阅读次数:
322
"total" -->传递参数时的名字var reg = new RegExp("(^|&)" + "total" + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg);$("#...
分类:
Web程序 时间:
2014-10-28 13:49:26
阅读次数:
152
Switch cases evaluate cases from top to bottom, stopping when a case succeeds.(For example,switch i {case 0:case f():}does not callfifi==0.)Note:Time ...
分类:
其他好文 时间:
2014-10-28 08:10:58
阅读次数:
221
JavaScriptmatch() 方法 定义和用法 match() 方法可在字符串内检索指定的值,或找到一个或多个正则表达式的匹配。 该方法类似 indexOf() 和 lastIndexOf(),但是它返回指定的值,而不是字符串的位置。语法//匹配字符串,返回指定的值s...
分类:
Web程序 时间:
2014-10-28 08:09:07
阅读次数:
265
1.Bundle savedInstanceState it is not persist. it does not share between activities, it is nolyfor one activity. it is saved for soft kill like: 1.o.....
分类:
移动开发 时间:
2014-10-28 07:02:20
阅读次数:
211
SDK更新时的“https://dl-ssl.google.com refused”错误Download interrupted: hostname in certificate didn't match: != Download interrupted: Connection to https:....
分类:
Web程序 时间:
2014-10-27 22:48:59
阅读次数:
268