B4J Question Can I put image in button node?

rossati

Active Member
Licensed User
Longtime User
I apologize for not be able to found how create buttons with images.
The node buttons doesn't accept SetBackgroundImage function.
My be via style property?
Thanks
 

Chris2

Active Member
Licensed User
Longtime User
You can also do it via the designer. Set the Background Properties>Drawable to BitmapDrawable, and pick the image you want to use.
You need to add the image to the Files tab in the Designer first
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
other
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…