码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果
Android学习笔记之Button的点击事件切换点击图片
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_p...
分类:移动开发   时间:2015-01-16 19:10:00    阅读次数:147
ScrollView的用法,隐藏滚动条
我之前写了一个ScrollView老是报java.lang.IllegalStateException: ScrollView can host only one direct child,意思是说:ScrollView只能有一个子布局,所以用一个布局把你写的布局抱起来就OK,隐藏滚动条。 <ScrollView android:layout_width="match_p...
分类:其他好文   时间:2015-01-16 16:54:52    阅读次数:182
Android学习笔记之Theme主题的修改设置
(1)布局文件 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height...
分类:移动开发   时间:2015-01-16 16:43:49    阅读次数:138
Android学习笔记之ListView的简单使用
(1) <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="ma...
分类:移动开发   时间:2015-01-16 14:43:14    阅读次数:182
Android学习笔记之自定义Toast
(1)布局文件layout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_...
分类:移动开发   时间:2015-01-15 22:12:06    阅读次数:204
正则表达式对象模型
正则表达式对象模型本主题介绍在处理 .NET Framework 正则表达式时使用的对象模型。 它包含下列部分:正则表达式引擎MatchCollection 和 Match 对象组集合捕获的组捕获集合单个捕获 正则表达式引擎 .NET Framework 中的正则表达式引擎由 Regex 类表示。....
分类:其他好文   时间:2015-01-15 20:12:59    阅读次数:298
C#正则表达式编程(三):Match类和Group类用法
前面两篇讲述了正则表达式的基础和一些简单的例子,这篇将稍微深入一点探讨一下正则表达式分组,在.NET中正则表达式分组是用Match类来代表的。首先先看一段代码:/// /// 显示Match内多个Group的例子/// public void ShowStructure(){ //要匹配的字符...
分类:Windows程序   时间:2015-01-15 19:46:58    阅读次数:161
查询指定网段Ping通的IP和主机名
$path="C:\Users\username\Desktop\" $ping=New-Objectsystem.net.networkinformation.ping 70..80|%{$ping.send("10.0.9.$_")|selectaddress,status}|out-file-filepath"$pathping.txt" $IP=Get-Content"$pathping.txt"|Where-Object{$_-match"Success"} $IPS=-split$IP|Where..
分类:其他好文   时间:2015-01-15 16:19:04    阅读次数:148
CF 496D
D. Tennis GamePetya and Gena love playing table tennis. A single match is played according to the following rules: a match consists of multiple sets, ...
分类:其他好文   时间:2015-01-14 21:13:03    阅读次数:180
android基础一之AutoCompleteTextView和MultiAutoCompleteTextView
//activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:contex..
分类:移动开发   时间:2015-01-14 18:17:07    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!