可能的原因如下:1. 菜单tools->Options->Debugging->General,有个Require source files to exactly match the original version的选项取消;2. 菜单tools->Options->Debugging->Symb...
分类:
其他好文 时间:
2015-05-04 15:07:59
阅读次数:
144
.xml文件 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ????xmlns:tools="http://schemas.android.com/tools" ????android:layout_width="match_parent" ????android...
分类:
移动开发 时间:
2015-05-02 15:16:35
阅读次数:
169
模块函数re.compile(pattern [, flag])把正则表达式预编译成正则表达式对象(模式对象),供以后使用.#模式对象,有re.compile()返回
>>> pobj = re.compile('Hello,(.*)')
>>> pobj
re.match(pattern, string [,...
分类:
编程语言 时间:
2015-04-30 10:48:31
阅读次数:
231
2个数值本来是相等的,但是由于一个是数值类型的,另一个是字符串类型,
导致,使用 if(a=b,"match","not match')的时候结果是not match。做如下修改就是match了
:
从左上区域第一个有小三角的开始选起,选中所有数据区域。
然后鼠标移动到第一个有小三角的单元格,会出现一个叹号的标志,里面有一个转为数字。
这样就可以了...
分类:
其他好文 时间:
2015-04-30 10:44:55
阅读次数:
90
三个属性都用来适应视图的水平或垂直大小,一个以视图的内容或尺寸为基础的布局比精确地指定视图范围更加方便。1)fill_parent设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或...
分类:
移动开发 时间:
2015-04-29 19:15:19
阅读次数:
107
主要布局如下:
<LinearLayout 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-04-29 15:10:59
阅读次数:
177
第一种方法,使用正则表达式: function findNum($str=''){ $str=trim($str); if(empty($str)){return '';} $reg='/(\d{3}(\.\d+)?)/is';//匹配数字的正则表达式 preg_match_all($reg,$st...
分类:
Web程序 时间:
2015-04-29 00:18:46
阅读次数:
201
本文叙述Collections里最常见的三种操作map, flatMap, filter,与For表达式的关系。List对三种方法的实现map在List的实现:abstract class List[+T] {
def map[U](f: T => U): List[U] = this match {
case x :: xs => f(x) :: xs.map(f)
case...
分类:
其他好文 时间:
2015-04-26 21:17:09
阅读次数:
530
android传感器
view:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_he...
分类:
移动开发 时间:
2015-04-26 15:19:29
阅读次数:
160
view:
<LinearLayout 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_...
分类:
其他好文 时间:
2015-04-26 09:33:14
阅读次数:
155