title: android - linear layout bringToFront()
body: <p>I have 4 buttons in my linear layout and i need to bring to front first button. </p>
  
  <p>Normal order is</p>
  
  <pre><code>    Button 1 | Button 2 | Button 3 | Button 4
  </code></pre>
  
  <p>But when I call <code>button1.bringToFront()</code> function , <code>button1</code> is going to end like</p>
  
  <pre><code>    Button 2 | Button 3 | Button 4 | Button 1
  </code></pre>
  
  <p>How can I solve this problem. Relative layout doesn't causes this problem but I have to use <code>LinearLayout</code> because buttons will order vertically and I'm deleting a button in some conditions.</p>
  
  <p>Thanks</p>