1,主界面<RelativeLayoutxmlns: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:paddingBottom="@dimen/activity_vertical_margin"..
分类:
其他好文 时间:
2015-02-01 20:34:03
阅读次数:
168
Python不支持空格与制表符混合使用,否则会出现IndentationError: unindent does not match any outer indentation level错误如下:
分类:
编程语言 时间:
2015-02-01 20:22:32
阅读次数:
2957
/** * 表单校验函数库 *//** * 判断email格式是否正确 * @param $email */function is_email($email) { return strlen($email) > 6 && preg_match("/^[\w\-\.]+@[\w\-\.]+(\....
分类:
移动开发 时间:
2015-02-01 18:58:25
阅读次数:
186
1,创建主界面<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:context=".MainActi..
分类:
其他好文 时间:
2015-02-01 07:25:09
阅读次数:
174
<RelativeLayoutxmlns: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"tools:context=".MainActivity"><TextViewandroid:id="@+id/tv..
分类:
其他好文 时间:
2015-02-01 07:23:08
阅读次数:
239
1. 空layout
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical...
分类:
移动开发 时间:
2015-01-31 12:32:00
阅读次数:
172
I want to run some programs of vs2012 on the vs2013 ,however some errors as follows:
first time the error is :
error LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700'
you can do that as fllows :
...
分类:
其他好文 时间:
2015-01-30 22:53:39
阅读次数:
1436
题目链接:http://blog.csdn.net/u014361775/article/details/42873875题目解析:给定两行字符串序列,输出它们之间最大公共子单词的个数对于给的两个序列X 和 Y,用i 和 j分别作为它们的前缀指针,f[i][j]表示序列X的前缀Xi 和 序列Y的前缀...
分类:
其他好文 时间:
2015-01-30 19:12:19
阅读次数:
428
private String initUrl(String preurl,String taskurl) { if(JavaUtil.match(taskurl, "/[a-z]+$")!=null) taskurl = taskurl + "/"...
分类:
Web程序 时间:
2015-01-30 17:01:40
阅读次数:
151
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
建两个list依次match 罗马数字。 比较特殊的是 一些有两位的罗马数字。
来自http://www.cnblogs.com/zuoyuan/p/377958...
分类:
编程语言 时间:
2015-01-30 10:51:44
阅读次数:
190