摘要:
改格式化字符串:String.format("%d%d", pos1, pos2)
阅读全文
posted @ 2015-06-20 16:09
心想快乐
阅读(73)
推荐(0)
编辑
摘要:
获取界面的宽度int mWidth = ViewGroup.LayoutParams.MATCH_PARENT;
阅读全文
posted @ 2015-06-20 15:38
心想快乐
阅读(115)
推荐(0)
编辑
摘要:
动态设置字体大小:textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 20);//设置字体为sp格式public class BaselineTextView extends TextView { public BaselineTextView(C...
阅读全文
posted @ 2015-06-20 15:36
心想快乐
阅读(102)
推荐(0)
编辑