(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_h...
分类:
移动开发 时间:
2014-12-21 16:41:20
阅读次数:
203
Android中 xml 属性 fill_parent、warp_content、match_parent区别...
分类:
移动开发 时间:
2014-12-20 16:58:45
阅读次数:
360
已有 9450 次阅读?2012-3-15 20:50?|系统分类:科研笔记|关键词:opencv 轮廓 轮廓的查找、表达、绘制、特性及匹配(How to Use Contour? Find, Component, Construct, Features & Match)?? 作者:王先荣 前言 ...
分类:
其他好文 时间:
2014-12-19 22:09:18
阅读次数:
250
1、Hash Match JoinHash运算(即散列算法) 和Hash表。Hash运算是一种编程技术,用来把数据转换为符号形式,使数据可以更容易更快速地被检索。例如,表中的一行数据,可以通过程序转化为一个唯一的值,这个值就代表了这行数据的内容。这和数据加密很类似,一个hash值同样也可以被转换回原...
分类:
数据库 时间:
2014-12-19 15:46:26
阅读次数:
250
错误提示:Debugging
information for "project.exe" cannot be found or does not match. Binary was not built with debug information.
Solution:
To enable debugging:
1) Goto Project->Properties
2)...
分类:
其他好文 时间:
2014-12-19 12:15:39
阅读次数:
263
android布局属性值fill_parent和match_parent - 泡在网上的日子在编写xml的时候,如果我们想让一个控件布满父容器,可以将layout_width和layout_height的值设置为fill_parent或者是match_parent,在高一点的版本中,谷歌建议为后者,...
分类:
移动开发 时间:
2014-12-18 20:15:28
阅读次数:
159
这是由于Java项目的jdk版本和Project Facets下的jdk版本不一致导致的,解决方法如下:
右键项目“Properties”,在弹出的“Properties”窗口左侧,单击“Project Facets”,打开“Project Facets”页面。
在页面中的“Java”下拉列表中,选择相应版本就OK了...
分类:
编程语言 时间:
2014-12-18 17:00:28
阅读次数:
279
<TextView?android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@android:color/white"?
android:ellipsize="marquee"?
android:focusable="true"
android:singleL...
分类:
移动开发 时间:
2014-12-17 22:47:41
阅读次数:
185
JS判断出版本以及浏览器类型
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
if (window.ActiveXObject)
Sys.ie = ua.match(/msie ([\d.]+)/)[1]
else if (doc...
分类:
编程语言 时间:
2014-12-17 18:39:13
阅读次数:
191
$tel='要验证的联系电话';$isMob="/^1[3-5,8]{1}[0-9]{9}$/";$isTel="/^([0-9]{3,4}-)?[0-9]{7,8}$/";if(!preg_match($isMob,$tel) && !preg_match($isTel,$tel)){ exit(...
分类:
移动开发 时间:
2014-12-17 16:12:18
阅读次数:
256