码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果
安卓属性动画ValueAnimator与ObjectAnimator详解
直接上demo,用法都在程序的注释里了,首先上五渣效果图, 布局代码: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_...
分类:移动开发   时间:2015-04-23 09:43:13    阅读次数:231
Solve error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'
This error happens in Release mode of VS2010, solve this problem by do following:.Go to Project Pages / Configuration Properties / C,C++ / Preprocesso...
分类:其他好文   时间:2015-04-23 02:01:44    阅读次数:255
Android 使用xml和java混合编写ui
以一个简单的图片浏览器实例说明新建工程后:在activit_main.xml中添加代码:<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/main" android:layout_width="match_parent" android:..
分类:移动开发   时间:2015-04-23 00:21:08    阅读次数:158
Linux DNS acl、view、日志系统使用
本节以前面主、从DNS为实验环境,讲解DNSacl、view、日志系统相关使用一、配置DNSacl访问控制列表acl定义格式:aclstring{address_match_element;...};常用几钟类型格式:allow-transfer{};允许做区域传送主机allow-query{};允许做查询限定allow-recursion{};允许做递归查询列表,..
分类:系统相关   时间:2015-04-23 00:14:45    阅读次数:277
正则学习笔记
http://www.imooc.com/learn/350 $pattern='/[0-9]/'; $subject="bjd5454f121fff52"; $m1=array(); $t1=preg_match($patte...
分类:其他好文   时间:2015-04-22 17:59:49    阅读次数:85
mongodb use where and custom function to query mongodb存储过程
function name regexObjSubObjKeyfunction codefunction(proto,value) { var match=false; var reg = new RegExp('.*'+value); print(JSON.string...
分类:数据库   时间:2015-04-22 17:47:53    阅读次数:160
MHA 切换的2个异常(masterha_master_switch line 53)
MHA 在测试手动故障转移和在线切换的过程中,碰到了2个比较诡异的问题,在使用IP地址调用的时候均无法测试成功,出现了Detected dead master xxx does not match with specified dead master以及xxx is not alive。下面是这2个错误问题的描述及解决方案。 1、MHA配置文件[root@vdbsrv4 ~]# more /etc...
分类:其他好文   时间:2015-04-22 11:49:57    阅读次数:295
Android抽屉菜单SlidingDrawer 简单使用
android:id="@+id/slidingdrawer"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:content="@+id/content"     android:handle="@+id/handle"     android:or...
分类:移动开发   时间:2015-04-22 11:38:22    阅读次数:146
判断是否chrome浏览器
varSys={};varua=navigator.userAgent.toLowerCase();vars;(s=ua.match(/chrome\/([\d.]+)/))?Sys.chrome=s[1]:0;//chrome浏览器if(Sys.chrome){$(".yzeditortabletrtd").each(function(){varyzBroder=parseInt($(this).css(‘border-width‘))||0;if(yzBroder<=0){$(this).cs..
分类:其他好文   时间:2015-04-21 18:35:01    阅读次数:99
listView实现时间轴
遇到一需求做一个时间轴左边是时间,右边是内容,中间就是那个轴的图片, ?1.中间轴线的图片需要根据内容的多少被拉长; ?2.顶部的圆点图片的位置不能左右边内容的顶部; ?3.底部不要轴线以圆点ImageView结束; 分析: 问题?1:设置图片parent的parent为wrap_content,设置android:minHeight="100dp",设置parent为match_par...
分类:其他好文   时间:2015-04-21 09:56:00    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!