How to bring ImageView in front of other ImageViews (android)
<p>I have list of images added in a <code>LinearLayout</code>  </p>

<pre><code>+------------+
|  Image 1   |
+------------+
|  Image 2   |
+------------+
|  Image 3   |
+------------+
</code></pre>

<p>I want every 2nd image to get Displayed above 1st and 3rd Image.<br>
For that I have set Bottom Margin of <code>Image 1</code> to <code>-10</code> pixels so <code>Image 2</code> overrides <code>Image 1</code> and it works, but this same logic does not work for  <code>Image 3</code>, <code>Image 2</code> does not override  <code>Image 3</code>s Top portion, as i have given <code>-10</code> top margin for the <code>Image 3</code>.</p>

<p>I have also tried <code>bring_to_front</code> for <code>Image 2</code> but it does not work.<br>
How Should i get it working.  </p>

<p>Thanks,<br>
PP.</p>
