iOS Question Transparent panel Glitches

Mike1970

Well-Known Member
Licensed User
Longtime User
hi everyone, I'm designing an app.
Some can explain me why sometimes, with panels that have a part of transparent, this happens?

A black box around them (sometime even light green)
Thanks!

IMG_1129.jpg

this is not the only item affected, other panels in my design sometimes shows this glitch too
 

Mike1970

Well-Known Member
Licensed User
Longtime User
No. Don't disable it.

You haven't added this line, right?
B4X:
#PlistExtra: <!--<key>UIUserInterfaceStyle</key>-->

Not when I did the screenshot, then while waiting you answer I tried to insert:
B4X:
#PlistExtra: <key>UIUserInterfaceStyle</key><string>Light</string>
then I didn't noticed the problem again, but you know, its very sporadic
 
Upvote 0

Brandsum

Well-Known Member
Licensed User
Just because of this problem I had to update all my apps. You have to set the color to transparent from code.

B4X:
View.color = Colors.transparent
 
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
Just because of this problem I had to update all my apps. You have to set the color to transparent from code.

B4X:
View.color = Colors.transparent
you set transparent as background color, but in my case the panel it self is LightBlue with rounded corners.. so there is no view to set the transparent background to. The glitch happens in the part masked out by the rounded corners :(
 
Upvote 0
Top