Like I want to customize it. I have been provided an image which I want to set it on my login button.
I tried Login.setBackground(“loginbackground.png”); but it didn’t go per my requirements. This question has duplicates but I didn’t found a perfect solution that’s why posting it :S
Thanks.
if you want to add image to button in background try it using below code :
or You can do it by adding image and adding click function to it in the below way :