Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio Preview : AwesomeTextView #129

Closed
davcpas1234 opened this issue Nov 23, 2015 · 3 comments
Closed

Android Studio Preview : AwesomeTextView #129

davcpas1234 opened this issue Nov 23, 2015 · 3 comments
Labels
Milestone

Comments

@davcpas1234
Copy link

When using the new AwesomeTextView of v.2.0.0 when previewing the activity Android Studio returns and instantiation error:

java.lang.RuntimeException: Font 'fontawesome-webfont-v440.ttf' not properly registered

should this have been removed via View.isInEditMode()?

@jamie-beardedhen
Copy link
Contributor

Thanks for the report, it should indeed be removed in editmode.

@jamie-beardedhen jamie-beardedhen added this to the 2.0.1 milestone Nov 24, 2015
davcpas1234 added a commit to davcpas1234/Android-Bootstrap that referenced this issue Nov 24, 2015
@renierdbruyn
Copy link

This seems to still be an issue in 2.3.2

Caused by: java.lang.RuntimeException: Font 'fontawesome-webfont-v470.ttf' not properly registered, please see the README at https://github.com/Bearded-Hen/Android-Bootstrap

@Akwarski
Copy link

This seems to still be an issue in 2.3.2

Caused by: java.lang.RuntimeException: Font 'fontawesome-webfont-v470.ttf' not properly registered, please see the README at https://github.com/Bearded-Hen/Android-Bootstrap

add this:
TypefaceProvider.registerDefaultIconSets()
in onCreate before:
setContentView(...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
@davcpas1234 @renierdbruyn @jamie-beardedhen @Akwarski and others