B4J Question Custom view

moore_it

Well-Known Member
Licensed User
Longtime User
Hi All,

how i do for add a Image property in an customView (if it possible) ?

Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You cannot add a new image property however the built-in BitmapDrawable option is available:


It will be set as the base background. If you like you can access it with CSSUtils. It is stored as four CSS attributes in the Style property:
-fx-background-size
-fx-background-position
-fx-background-repeat
-fx-background-image
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…