Android应用程序:如何阅读字体大小设置下? [英] Android App: how to read Font Size under Settings?
本文介绍了Android应用程序:如何阅读字体大小设置下?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发一个Android应用程序,我想读下的字体大小设置 - >显示 - >字体大小
I am developing an Android Application and I would like to read the Font Size under Settings->Display->Font Size.
因此,如果用户设置了字体大小为小/大/巨大的,我想全自动将此应用到我所有的文字
So if a user has set his Font Size to Small/Big/Huge, I would like to apply this automaticly to all my text
我使用的是三星GALAXY Nexus,安卓4.1.2
I am using a Samsung Galaxy Nexus, Android 4.1.2
感谢您在您的帮助
推荐答案
尝试阅读<一个href="http://developer.android.com/reference/android/provider/Settings.System.html#FONT_SCALE"><$c$c>FONT_SCALE$c$c>从 android.provider.Settings.System
。
Try reading FONT_SCALE
from android.provider.Settings.System
.
这篇关于Android应用程序:如何阅读字体大小设置下?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文