S Scantech Well-Known Member Licensed User Longtime User Nov 29, 2012 #1 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 TestBringtofront.zip 44.6 KB · Views: 518 Last edited: Nov 29, 2012
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
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2012 #2 It will be fixed in the next update. For now you can use this code: Code: Copy Sub Button3_Click ImageView2.RemoveView Activity.AddView(ImageView2, ImageView2.Left, ImageView2.Top, ImageView2.Width, ImageView2.Height) End Sub
It will be fixed in the next update. For now you can use this code: Code: Copy Sub Button3_Click ImageView2.RemoveView Activity.AddView(ImageView2, ImageView2.Left, ImageView2.Top, ImageView2.Width, ImageView2.Height) End Sub
Informatix Expert Licensed User Longtime User Jan 3, 2013 #3 Scantech said: 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 Click to expand... If you add Activity.Invalidate after BringToFront, you should solve your problem. It's not surprising with JellyBean...
Scantech said: 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 Click to expand... If you add Activity.Invalidate after BringToFront, you should solve your problem. It's not surprising with JellyBean...