The documentation does mention that if you set your textSize in sp
units, it is scaled by the user's font size preference:
http://developer.android.com/guide/topics/resources/more-resources.html#Dimension

So wouldn't you just have to use a different unit, like dp or px?

I've never actually seen a system wide font size preference, however,
and I must have seen the settings screens on over a dozen Android
phones. I wish there was one, and I've had people ask me about it
before too, but it's incredibly rare if it exists, or is just hidden
somewhere I have no clue to check.

You might want to check that you aren't seeing text size differences
due to running on different density class devices. That's far more
likely.

On Nov 16, 4:09 am, enricozhang <zgl...@gmail.com> wrote:
> Hello, Everybody.
> I have a problem in my application, do not want to respond to the
> system set in Setting the font size, I used the controls are Button,
> TextView, and so, to how to do, be grateful!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to