Feature: FontManager

This commit is contained in:
zt515
2017-07-03 01:28:05 +08:00
parent 249df0a34e
commit d4c1e8e0fb
17 changed files with 214 additions and 50 deletions

View File

@ -185,7 +185,7 @@ public final class ExtraKeysView extends LinearLayout {
button = new Button(getContext(), null, android.R.attr.buttonBarButtonStyle);
}
button.setTypeface(FontManager.INSTANCE.getCurrentFont().getTypeface());
button.setTypeface(FontManager.INSTANCE.getCurrentFont().getTypeFace());
button.setText(extraButton.buttonText);
button.setTextColor(NORMAL_TEXT_COLOR);
button.setAllCaps(false);