<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老是报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
(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
(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
(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
前面两篇讲述了正则表达式的基础和一些简单的例子,这篇将稍微深入一点探讨一下正则表达式分组,在.NET中正则表达式分组是用Match类来代表的。首先先看一段代码:/// /// 显示Match内多个Group的例子/// public void ShowStructure(){ //要匹配的字符...
$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
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
//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