OSDN Git Service

Set default text style in layoutlib as NORMAL
authorDeepanshu Gupta <deepanshu@google.com>
Wed, 19 Feb 2014 19:05:02 +0000 (11:05 -0800)
committerDeepanshu Gupta <deepanshu@google.com>
Wed, 19 Feb 2014 19:05:02 +0000 (11:05 -0800)
commit0acfb16dcd95468fe032204f54618e86becfd1eb
tree49a08946d6d09c82fc898713ce38d30eb61129c5
parent5441745effb885589c03050b59885e8a3ad96ad6
Set default text style in layoutlib as NORMAL

If a style doesn't specify text style (normal/bold/italic/bold-italic)
then default to normal instead of throwing an error.

Bug: http://b.android.com/61358
Change-Id: I0138c73807a5ff6e4d938a99ece3044333110aa1
tools/layoutlib/bridge/src/android/graphics/Typeface_Delegate.java