摘要:
在编写Android自定义按钮示例基础上,如果要指定字体大小产生这样的效果:其实是不需要自定义变量的,可以直接使用TextView的配置属性:在这里字体大小使用了sp,这里要说一下sp与dp(dip)的区别,dip是:dpDensity-independent Pixels – an abstract unit that is based on the physical density of the screen. These units are relative to a 160 dpi screen, so one dp is one pixel on a 160 dpi screen. 阅读全文
posted @ 2013-10-22 11:17
Rex..
阅读(14659)
评论(2)
推荐(0)
摘要:
wiondow-->preferences-->general-->appearance-->colors and fonts-->java-->java editor text font然后点change,在弹出的框里选字号 阅读全文
posted @ 2013-10-22 10:31
Rex..
阅读(1789)
评论(0)
推荐(0)