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

1 - Adding BorderRadius and BorderRadius with Stroke to the Button by… #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MuhamamdNashat
Copy link

… Adding a Background Drawable for it

(You shouldn't add Background Drawable if it doesn't have the BorderRadius
and if you gonna add a solid color to it ... make the same color as fillColor attribute
and if you gonna add Stroke to a BorderRadius don't add it to the Button Stroke Attribute)

2 - Adding TextAppearance , TextFont
put the font in Assets Folder
then call its Path
so if u gonna put it in a folder called Fonts inside Assets Folder
call it by(Fonts/font_name.ttf)

… Adding a Background Drawable for it

(You shouldn't add Background Drawable if it doesn't have the BorderRadius
and if you gonna add a solid color to it ... make the same color as fillColor attribute
and if you gonna add Stroke to a BorderRadius don't add it to the Button Stroke Attribute)

2 -  Adding TextAppearance , TextFont
put the font in Assets Folder
then call its Path
so if u gonna put it in a folder called Fonts inside Assets Folder
call it by(Fonts/font_name.ttf)
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

Successfully merging this pull request may close these issues.

1 participant