I'm having some slight UI translation issues with ICS on a Galaxy Nexus and Honeycomb on a 10.1 Tab. I'd like to basically be able to determine what the default text size is, such that I can increase it as such:
float originalTextSize = [how to get this ???] float newTextSize = originalTextSize * someScalingFactorBasedOnUserPreference; myTextView.setTextSize(TypedValue.COMPLEX_UNIT_SP, newTextSize); One of my apps has a data dense display, and some users like to increase the text size, which I've provided an option for them to do so. Prior to ICS there was no system setting to do so, it's nice to see that in there. Is there a way I can determine the default text size? Or a better approach? I have been using a static number base (12f for instance, and a bigger number for xlarge displays which, looks poor on the galaxy nexus, but right on the tab) and scaling it, but this is not ideal, and I'd like to have a better implementation which will work for both < 4.0 and 4.0+ that works in a relative sense. Appreciate any help, thank you -- Adam www.sunsurveyor.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

