Android Question SwiftButton and Designer Drawable / Bitmapdrawable

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Added some SwiftButtons to my designer screen and set the Drawable to a png.



For some reason it doesn't load and I have to load it manually.

B4X:
SwiftButton1.mBase.SetBitmap(LoadBitmap(File.DirAssets, "Arrow_Up.png"))

Do I have to do something special to get the bitmap to load from designer?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…