Spare Parts app can no longer change the font size globally

1 view
Skip to first unread message

Joel

unread,
May 4, 2009, 7:53:20 PM5/4/09
to android-platform
If I run the Spare Parts app on Android 1.0, then it can change the
global font sizes for most places in the UI, but running it on Android
1.5 (Cupcake) does not produce the same results. It only changes the
apps font size, and no other apps have their fonts changed.

Does anyone know why this is broken, or more importantly, is there an
API that can be called to modify the system wide fonts?

(Sorry, not sure if this is the right group, but seeing as this is a
question of underlying platform support for global font changes, I
thought I'd try this group first since it appears that something may
have changed with the platform to cause Spare Parts to no longer work.)

Dianne Hackborn

unread,
May 4, 2009, 8:19:45 PM5/4/09
to android-...@googlegroups.com
This has never been an officially supported feature (hence in spare parts) and actually never really applied to everything.  That said, I don't know of any framework change to cause this...  my guess is that this is because the applications are using "dp" instead of "sp" units.
--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

Joel

unread,
May 5, 2009, 12:10:16 PM5/5/09
to android-platform
Thanks for the feedback, Dianne. Most of the apps that showed an
increase in font size in 1.0 with Spare Parts are just the standard
Android apps like messaging and contacts. From a quick glance, it
appears that they're still predominantly using "sp" units in 1.5.

I had originally thought that maybe the app is using one of the APIs
that has been recently moved to the android.provider.Settings.Secure
class, but that doesn't appear to be the case.
Reply all
Reply to author
Forward
0 new messages