Android Question Designer Issue

aklisiewicz

Active Member
Licensed User
Longtime User
When created a Splash Screen everything looks good in the designer (see image), but when the App is run the image is not resized and centered properly. I'm also having problem with transparent background. Tried PNG with transparency but it doesn't work. It displays white BGND around the logo.

Tried to add:
Code: Copy
ImageView1.HorizontalCenter = 50%x
but it did not help

any ideas - Arthur
 

Attachments

  • YLC_Splash_Designer.png
    YLC_Splash_Designer.png
    130.4 KB · Views: 406
  • ytlc_app_splash.png
    ytlc_app_splash.png
    119.3 KB · Views: 379
Last edited:
If you are using v3.20 then you should set both anchors to BOTH and fill the screen with the ImageView.

For previous versions you should call:
Code: Copy
ImageView1.SetLeftAndRight(0, 100%x)
ImageView1.SetTopAndBottom(0, 100%y)

where can I download B4A v3.2 ?
Arthur
 
Upvote 0
Back
Top