黑莓设备 - 获取设置/默认字体大小(Blackberry Device - getting set/default font size)
有没有办法可以访问手机上设置的字体大小?
我想使用类似下面的内容在屏幕上设置字体:
setFont(Font.getDefault().derive(Font.PLAIN, 20));用应用程序中设置的字体替换上面的20,最多我将确定的最大值。 我正在使用JDE 4.5.0。
谢谢
Is there a way that I can access the font size that is set on the handset?
I would like to use something like the following to setup the font on a screen:
setFont(Font.getDefault().derive(Font.PLAIN, 20));replacing the 20 in the above with the font set in the application, up to a maximum that I'll determine. I'm using JDE 4.5.0.
Thanks
最满意答案
Font.getDefault().getHeight() Font.getDefault().getHeight()更多推荐
发布评论