I've been trying to customize a toggle button to look like this, but it seems like i'm not getting anywhere.
Can anyone give me an idea or any kind of tutorial on designing?
I've been trying to customize a toggle button to look like this, but it seems like i'm not getting anywhere.
Can anyone give me an idea or any kind of tutorial on designing?
Copyright © 2021 Jogjafile Inc.
Is that what you're looking for :
First create a
ToggleButton
XML :Java :
The
setFollow
&setUnfollow
methods :Finally The fill.XML and bordre.XML (create these file in the drawable folder)
Border.XML :
Fill.XML