摘要: 设置字体的时候可以这样用的android:textStyle="bold|……"多个选项中间可以用|分开的这样就可以同时设置字体是粗体,斜体,或下划线 阅读全文
posted @ 2012-05-23 23:20 Thomas.Kwan 阅读(1074) 评论(1) 推荐(1) 编辑
摘要: mysql查看表结构命令,如下: desc 表名;show columns from 表名; describe 表名;show create table 表名;use information_schemaselect * from columns where table_name='表名'; 顺便记下:show databases;use 数据库名;show tables; 原有一unique索引AK_PAS_Name(PAC_Name)在表tb_webparamcounter中,执行以下sql修改索引alter table tb_webparamcounter drop in 阅读全文
posted @ 2012-05-23 23:11 Thomas.Kwan 阅读(162) 评论(0) 推荐(1) 编辑
摘要: 快捷键Ctrl+H 阅读全文
posted @ 2012-05-23 23:06 Thomas.Kwan 阅读(865) 评论(0) 推荐(1) 编辑
摘要: 在main.xml 或者其他xml 布局文件中布局Button的时候,选择Android:gravity="center_horizontal",意思是Place object in the horizontal center of its container, not changing its size.我们用RelativeLayout 布局,这样可以使不同的组件有对齐的方式。[代码]main.xml01<?xmlversion="1.0"encoding="utf-8"?>02<RelativeLayoutxm 阅读全文
posted @ 2012-05-23 23:02 Thomas.Kwan 阅读(637) 评论(0) 推荐(1) 编辑