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

Set Font of Button's text in xml #6

Open
haihack opened this issue Apr 18, 2020 · 1 comment
Open

Set Font of Button's text in xml #6

haihack opened this issue Apr 18, 2020 · 1 comment

Comments

@haihack
Copy link

haihack commented Apr 18, 2020

Is there any way to set font of the button's text in by xml attribute that is equivalent to the way doing it in java code:
fitbutton.setTextFont(R.font.share_tech_regular);

@haihack
Copy link
Author

haihack commented Apr 18, 2020

I found out there is a attribute named fb_fontFamilyRes. Should you update the document?

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

No branches or pull requests

1 participant