Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
am 9932e58: am 9e2dada: am bcbeaf8: Set default text style in layoutl…
Browse files Browse the repository at this point in the history
…ib as NORMAL [DO NOT MERGE]

* commit '9932e589b0f604b1c553e043cd6a60adbc1b7055':
  Set default text style in layoutlib as NORMAL [DO NOT MERGE]
  • Loading branch information
deepanshu- authored and Android Git Automerger committed May 2, 2014
2 parents 826a215 + 9932e58 commit 8ad4b8b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public List<Font> getFonts() {
if (familyName == null) {
familyName = DEFAULT_FAMILY;
}
if (style < 0) {
style = Typeface.NORMAL;
}

Typeface_Delegate newDelegate = new Typeface_Delegate(familyName, style);
if (sFontLoader != null) {
Expand Down

0 comments on commit 8ad4b8b

Please sign in to comment.