Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant