摘要: Android系统中设置TextView的行间距(非行高)Android系统中TextView默认显示中文时会比较紧凑,不是很美观。为了让每行保持一定的行间距,可以设置属性android:lineSpacingExtra或android:lineSpacingMultiplier。关于Androi... 阅读全文
posted @ 2014-09-05 10:22 清猿啸夜 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 在Android中有时候会遇到EditText是否设置获得焦点的属性:其实实现起来很简单,在其父控件中添加属性: android:focusable="true" android:focusableInTouchMode="true"就可以了。有时候EditText需要设置它的样式像text... 阅读全文
posted @ 2014-09-05 00:03 清猿啸夜 阅读(334) 评论(0) 推荐(0) 编辑