OSDN Git Service

Layoutlib now parses system_fonts.xml instead of its own.
authorXavier Ducrohet <xav@android.com>
Wed, 5 Oct 2011 01:01:07 +0000 (18:01 -0700)
committerXavier Ducrohet <xav@android.com>
Wed, 5 Oct 2011 01:02:10 +0000 (18:02 -0700)
commit178006a0e05b41b4c4de93aec30368a9102ca140
tree5261679b7d2ae70313d6896a54b6301c69a13179
parent3c1951c442e40f7f46775acfc8a22c24f04d8cfc
Layoutlib now parses system_fonts.xml instead of its own.

Also parse fallback_fonts.
This lets layoutlib automatically use the same fonts as the base
platforms, for instance it now uses the new ICS fonts.

Change-Id: Id6e778dc0e3f2a9112601e0eaf8499a9713ec433
data/fonts/fonts.xml [deleted file]
tools/layoutlib/bridge/src/android/graphics/Typeface_Delegate.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/FontLoader.java