码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果)
linux设备驱动归纳总结(八):2.match.probe.remove
linux设备驱动归纳总结(八):2.总线、设备和驱动的关系 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 上一节介绍了总线、设备和驱动函数的注册,这节着重介绍它们三者的关系,和上一节一样,我模拟一条usb总线,一个usb鼠标设备和一个usb鼠标驱动函数,当然...
分类:系统相关   时间:2016-04-01 06:35:12    阅读次数:255
通过SectionIndexer实现微信通讯录
这里主要参考了使用SectionIndexer实现微信通讯录的效果 在这里做个记录 效果图 页面使用RelativeLayout,主要分为三个部分,match_parent的主listView,右边字母的SideBar,还有就是微信那种点击字母时浮动的一个TextView 布局: fragment_ ...
分类:微信   时间:2016-03-31 14:27:01    阅读次数:317
js常用正则
var sTest="xxxkdsj234dogdog1234xx"var reTest1=/(dog){2}/var reTest2 = /(?:dog){2}/;console.info(sTest.match(reTest1))console.info(sTest.match(reTest1) ...
分类:Web程序   时间:2016-03-31 12:21:57    阅读次数:242
android布局优化的三大标签
1、布局重用 标签能够重用布局文件,简单的使用如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width=”match_parent” and...
分类:移动开发   时间:2016-03-30 13:03:10    阅读次数:255
【个人笔记】有关正则匹配的几点小笔记
匹配单个数字(不能>10): \d 匹配>10的数字: \d+ 匹配类似"1-IMSI_Match_Sharing_Bad","-1-获取失败":"(?:-1|\d+)(-[a-zA-Z\u4e00-\u9fa5_]+)+" 匹配第一部分数字: "(?:-1|\d+)" 匹配第二部分减号后面文字: ...
分类:其他好文   时间:2016-03-29 12:48:52    阅读次数:114
Android五大布局标签和属性总结
1.LinearLayout orention 水平和垂直 weight 切割闲置空间 水平布局 切割宽度 垂直布局 切割的高度 切割的时候 指定的高度或者宽度不能用fill_parent/match_parent 2.Tablayout <TabRow> </TabRow> 一行 <TabRow> ...
分类:移动开发   时间:2016-03-28 15:06:31    阅读次数:168
WebView加载页面
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ ...
分类:Web程序   时间:2016-03-28 11:48:55    阅读次数:216
自定义EditText动态在EditText中添加图片
首先自定义MyText 注意在layout中使用的使用要添加包名 ? android:layout_width="match_parent" android:layout_height="wrap_content"> 首先自定义MyText 注意在layout中使用的使用要添加包名 ? androi ...
分类:其他好文   时间:2016-03-27 15:35:25    阅读次数:155
WebView找不到网页,显示空白页问题解决
一、找不到网页 AndroidManifest.xml中的android:name="android.permission.INTERNET" />?权限写成大写的了 二、显示空白页 ?android:layout_width="match_parent" android:layout_height ...
分类:Web程序   时间:2016-03-27 15:33:07    阅读次数:351
HorizontalScrollView滑动 ViewPager切换
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ ...
分类:其他好文   时间:2016-03-26 14:09:26    阅读次数:269
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!