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

Fonts don't get selected #28

Closed
vijaykd opened this issue Feb 14, 2016 · 4 comments
Closed

Fonts don't get selected #28

vijaykd opened this issue Feb 14, 2016 · 4 comments
Assignees

Comments

@vijaykd
Copy link

vijaykd commented Feb 14, 2016

I am trying out similar to sample project:

<com.neopixl.pixlui.components.textview.TextView
android:id="@+id/loadingtext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/loadingtext"
android:textColor="@drawable/text_selector_listview"
android:paddingTop="3dp"
android:layout_gravity="center"
pixlui:clearclipboardcontent="true"
pixlui:copyandpaste="false"
style="@style/TextRoboto.t1"

<style name="TextRoboto.t1" parent="MyMaterialTheme.Base"> Roboto-Regular.ttf 11sp </style>

XML shows: Asset not found: fonts/Roboto-Regular.ttf

I can confirm the file is there in assets/fonts folder (Assets folder is in main Folder and not inside res folder)

What could be wrong?

@odemolliens
Copy link
Contributor

Can you take a look there : http://stackoverflow.com/a/35450511/1176412

@vijaykd
Copy link
Author

vijaykd commented Feb 18, 2016

I have tried this already. Didn't work for me.. still the same. :(

@odemolliens
Copy link
Contributor

Do you see the font on the simulator/device ?

@odemolliens
Copy link
Contributor

No news

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

No branches or pull requests

2 participants