Robert Valentino Well-Known Member Licensed User Longtime User Apr 20, 2020 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Apr 21, 2020 #2 See my answer here: https://www.b4x.com/android/forum/threads/swiftbutton-bitmaps-look-different.116610/ Upvote 0
See my answer here: https://www.b4x.com/android/forum/threads/swiftbutton-bitmaps-look-different.116610/