默认是下面的属性添加TextView中:
android:ellipsize="marquee"
android:focusableInTouchMode="true"
android:gravity="center"
android:marqueeRepeatLimit="marquee_forev...
分类:
移动开发 时间:
2014-07-22 23:02:15
阅读次数:
388
RecursionIt is legal for one function to call
another; it is also legal for a function to call itself. It may not be obvious
why what is a good thing,...
分类:
其他好文 时间:
2014-05-01 18:40:44
阅读次数:
302
方法一:在线安装
1.打开HELP->MyEclipse Configuration
Center。切换到SoftWare标签页。
2.点击Add Site 打开对话框,在对话框Name输入Svn,URL中输入:http://subclipse.tigris.org/update_1.6.x
3.在左边栏中找到Personal Site中找到SVN展开。将Core ...
分类:
系统相关 时间:
2014-05-01 18:15:35
阅读次数:
373
批处理命令启动和关闭tomcat,其实只要把tomcat自己的脚本呼叫起来就好了呢关闭tomcatif
exist "C:\Tomcat-7.0.39\bin\shutdown.bat" call
"C:\Tomcat-7.0.39\bin\shutdown.bat"启动tomcatif exist...
分类:
其他好文 时间:
2014-05-01 15:18:52
阅读次数:
321
>>> d1 = dict(a = 1, b = 2)>>> d2
= dict(b = 2, c = 3)>>> d1 & d2 # 字典不?支持该操作Traceback (most recent
call last): File "", line 1, in TypeError: unsupp....
分类:
其他好文 时间:
2014-05-01 12:50:50
阅读次数:
341
ABAP中FORM参数的传递有以下几种方式。 1.引用传递(CALL BY REFERENCE)
传递参数时将参数的地址(ADDRESS)传至子程序中,也就是子程序中的参数变量与外部程序的参数变量共享地址内的值。又叫CALL BY
ADDRESS,若子程序中的参数变量的值发生了改变,那么,外...
分类:
其他好文 时间:
2014-05-01 08:39:35
阅读次数:
339
android:scaleType可控制图片的缩放方式,示例代码如下:
1
ImageView android:id="@+id/img"
2
android:src="@drawable/logo"
3
android:scaleType="center...
分类:
其他好文 时间:
2014-04-29 13:44:20
阅读次数:
376
* {
margin:0;
padding:0;
}
html,
body,
#box {
height:100%;
font:small/1.5 "宋体", serif;
}
body {
text-align:center;
}
#box {
text-align:left;
background:#666;
display:table;
wi...
分类:
Web程序 时间:
2014-04-29 13:36:20
阅读次数:
469
为方便起见将JQuery.fn.init称之为JQuery对象
JQuery原型对象方法:
(1) toArray()
调用[].prototype.slice.call(jquery)将JQuery对象(类对象)转换为真正的数组
测试html
body>
div id= "div1">div1div >div id= "div2">div2...
分类:
Web程序 时间:
2014-04-29 13:32:22
阅读次数:
361
Object.prototype.toString & typeof
Object.prototype.toString 获取某个对象属于哪种内置类型
typeof 得到某个对象的类型
区别:
举个例子:
var arr = new Array();
typeof(arr); //object
Object.prototype.toString.call(arr); //[Object Array]...
分类:
其他好文 时间:
2014-04-28 10:33:42
阅读次数:
279