BringtoFront Image not working

Scantech

Well-Known Member
Licensed User
Longtime User
I am not sure if anyone catch this bug. Version 2.26 and older is ok, but in 2.30/2.31, if you add 2 images overlapping each other and using a button to set one of the images property to Bringtofront it will not work. SendtoBack is ok. However, when moving the image then all the sudden it brings the image to the front.



Tested with Nexus 7
JellyBean 4.2.1
 

Attachments

  • TestBringtofront.zip
    44.6 KB · Views: 311
Last edited:

Informatix

Expert
Licensed User
Longtime User
I am not sure if anyone catch this bug. Version 2.26 and older is ok, but in 2.30/2.31, if you add 2 images overlapping each other and using a button to set one of the images property to Bringtofront it will not work. SendtoBack is ok. However, when moving the image then all the sudden it brings the image to the front.



Tested with Nexus 7
JellyBean 4.2.1

If you add Activity.Invalidate after BringToFront, you should solve your problem. It's not surprising with JellyBean...
 
Top