摘要: from:http://dev.10086.cn/cmdn/wiki/index.php?doc-view-6087.htmlandroid:shape的使用Android中常常使用shape来定义控件的一些显示属性,今天看了一些shape的使用,对shape有了大体的了解,稍作总结:先看下面的代码:复制到剪贴板XML/HTML代码<shape><!--实心--><solidandroid:color="#ff9d77"/><!--渐变--><gradientandroid:startColor="#ff8c0 阅读全文
posted @ 2013-04-30 22:57 youJumpILook 阅读(147) 评论(0) 推荐(1) 编辑
摘要: from:http://blog.csdn.net/lovexjyong/article/details/6852533TextView属性大全android:autoLink设置是否当文本为URL链接/email/电话号码/map时,文本显示为可点击的链接。可选值(none/web/email/phone/map/all)android:autoText如果设置,将自动执行输入值的拼写纠正。此处无效果,在显示输入法并输入的时候起作用。android:bufferType指定getText()方式取得的文本类别。选项editable 类似于StringBuilder可追加字符,也就是说getT 阅读全文
posted @ 2013-04-30 22:48 youJumpILook 阅读(141) 评论(0) 推荐(0) 编辑
摘要: All children of aLinearLayoutare stacked one after the other, so a vertical list will only have one child per row, no matter how wide they are, and a horizontal list will only be one row high (the height of the tallest child, plus padding). ALinearLayoutrespectsmargins between children and thegravit 阅读全文
posted @ 2013-04-30 22:30 youJumpILook 阅读(136) 评论(0) 推荐(0) 编辑
摘要: A layout defines the visual structure for a user interface, such as the UI for anactivityorapp widget. You can declare a layout in two ways:Declare UI elements in XML. Android provides a straightforward XML vocabulary that corresponds to the View classes and subclasses, such as those for widgets and 阅读全文
posted @ 2013-04-30 22:03 youJumpILook 阅读(323) 评论(0) 推荐(0) 编辑
摘要: from:http://blog.csdn.net/lmss82/article/details/4414178今天服务器遇到了一个很熟悉的问题输入#mysql -u root -pERROR 2002 (HY000):Can't connect to local MySQL server随即上网找寻答案根据大家提供的方法我逐一尝试方案1.1.#ps -A|grepmysql 显示类似: 1829 ? 00:00:00 mysqld_safe 1876 ? 00:00:31 mysqld 2.#kill -9 18293.#kill -9 1876 4.#/etc/init.d/mys 阅读全文
posted @ 2013-04-30 21:20 youJumpILook 阅读(184) 评论(0) 推荐(0) 编辑