OSDN Git Service

Set default text style in layoutlib as NORMAL [DO NOT MERGE]
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 20:17:00 +0000 (20:17 +0000)
commit13aea18b34e527cffeaa6cb81f5ecb7c4a66cb11
tree886399c5ad8374602306c9db0501e444540239ba
parent45dbfcc781a3926d22571b6ccfa3f27ec896f119
Set default text style in layoutlib as NORMAL [DO NOT MERGE]

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
(cherry picked from commit 0acfb16dcd95468fe032204f54618e86becfd1eb)
tools/layoutlib/bridge/src/android/graphics/Typeface_Delegate.java