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.

1587398819870.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?
 
Top