So my problem is actually related to animations. I want to animate the red square in this linear (horizontal) layout: http://image.noelshack.com/fichiers/2014/22/1401291148-stck.jpeg
I want to use an animation that upscales the red square, so I want to get this: http://image.noelshack.com/fichiers/2014/22/1401291147-stck2.jpeg (The red square goes over the left and right grey squares. I don't care it is cropped by the height of the linear layout, I know how to deal with this)
Now if I launch the animation, it goes over the left grey square but under the one on the right... I want the red one to be on top of the two others.
Is there anyway I can achieve that? I tried myImageView.BringToFront() but it breaks the linear layout, bringing the red square to the far right.
NOTE: It HAS to be a linear layout, I know how to do it with a relative layout but I have other constraints that makes me need a linear layout...
PS: If this is not possible at all, is there anyway I could achieve in a relative layout what "weights" do in linear layouts? (I want my 4 squares to upscale equally so that they fill the width of the screen of the user. I can make that happen in a linear layout but it brings me back to my 1st question...)