On Fri, Aug 3, 2012 at 12:24 PM, Justin Anderson <[email protected]> wrote: > I noticed this myself... What I do is specify my font sizes in a > res/values/dimens.xml file. Then I also create a version of that file in > res/values-large. Then I reference my font sizes as > @dimen/my_dimen_resource rather than using the sp value directly. > > That way I can use larger font sizes on large screens and I only have to set > up the values once.
That seems like a good plan. You still should use sp units, though, for both dimension resource values, for those handful of users who do stumble upon the font scaling feature... -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.0 Available! -- 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

