...now, on Android 4.1.1 the following method still does NOT update the 
system's font scale:

Settings.System.putFloat( getContentResolver(), Settings.System.FONT_SCALE, 
newFontScale );

Any ideas?


On Friday, 13 November 2009 00:34:03 UTC+1, Romain Guy wrote:
>
> It's supposed to scale the size of fonts defined using the "sp" unit. 
> But this is not exposed to the user not really supported at the 
> moment. 
>
> On Thu, Nov 12, 2009 at 2:54 PM, Colin Brash 
> <colin...@gmail.com<javascript:>> 
> wrote: 
> > I've been playing around on Android 2.0 trying to globally change font 
> > sizes.  I call the following: 
> > 
> > Settings.System.putString(getContentResolver(), 
> > Settings.System.FONT_SCALE, scale); 
> > 
> > This does change FONT_SCALE, but the changed value seems to have no 
> > effect on the system. 
> > 
> > What does this actually do (if anything)? 
> > 
> > Thanks, 
> > Colin 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Android Developers" group. 
> > To post to this group, send email to 
> > android-d...@googlegroups.com<javascript:> 
> > To unsubscribe from this group, send email to 
> > android-developers+unsubscr...@googlegroups.com <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/android-developers?hl=en 
> > 
>
>
>
> -- 
> Romain Guy 
> Android framework engineer 
> roma...@android.com <javascript:> 
>
> Note: please don't send private questions to me, as I don't have time 
> to provide private support.  All such questions should be posted on 
> public forums, where I and others can see and answer them 
>

-- 
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