码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果
VLV INDEX
Normally, when the Directory Server conducts a search, the server looks through the entire entry for a match, throughout the entire directory. For lar...
分类:其他好文   时间:2014-05-20 01:23:35    阅读次数:277
过滤资源地址
string strPatten = "(src|href)=(.*?)[>| ]"; string strContent = " "; Regex reg = new Regex(strPatten); foreach (Match match in...
分类:其他好文   时间:2014-05-16 20:00:47    阅读次数:266
android开源项目之OTTO事件总线(二)官方demo解说
官方demo见 https://github.com/square/otto注意自己该编译版本为2.3以上,默认的1.6不支持match_parent属性,导致布局文件出错。另外需要手动添加android-support-v4和otto到自己的libs文件夹。主要代码逻辑:1,在主页面点clear按...
分类:移动开发   时间:2014-05-16 19:19:36    阅读次数:334
谷歌浏览器的一个新特点——关于获取iframe的parent对象
Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match....
分类:其他好文   时间:2014-05-14 19:30:36    阅读次数:292
Android fill_parent、wrap_content和match_parent的区别
三个属性都用来适应视图的水平或垂直大小,一个以视图的内容或尺寸为基础的布局比精确地指定视图范围更加方便。1)fill_parent设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或...
分类:移动开发   时间:2014-05-14 07:02:27    阅读次数:424
Android(3)
1.电话拨号器: activity_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" a...
分类:移动开发   时间:2014-05-13 15:08:57    阅读次数:508
Include设置layout_*无效解决方法
在include标签中不能省略 layout_width或者layout_height否则设置layout_weight就会无效。如下设置即可             android:id="@+id/linearLayout1"         android:layout_width="match_parent"         android:layout_height="w...
分类:其他好文   时间:2014-05-13 07:12:47    阅读次数:389
解决The located assembly's manifest definition does not match the assembly reference
ran"c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe-i"whichsolvedtheproblem
分类:其他好文   时间:2014-05-12 04:04:25    阅读次数:339
crm2011 使用SOAP 查询单个记录 Retrieve
function getServiceUrl() {     var serverUrl = Xrm.Page.context.getServerUrl();     if (serverUrl.match(/\/$/)) {         serverUrl = serverUrl.substring(0, serverUrl.length - 1);     }     retur...
分类:其他好文   时间:2014-05-11 22:01:16    阅读次数:261
验证url 地址是否是图片
由于正则不是很熟悉所以面对这样的目前只能采取两步走一 判断url地址是否是正确的http二判断后缀是否是图片 格式/驗證URLfunction validUrl(strUrl){ strUrl = strUrl.match(/http:\/\/.+/); alert(strUrl); ...
分类:其他好文   时间:2014-05-10 08:11:09    阅读次数:310
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!