How to align android buttons like a triangle
<p>How to achieve these two scenarios in android layout - </p>

<p><img src="http://i.stack.imgur.com/Co2Kj.png" alt="enter image description here"></p>

<p><img src="http://i.stack.imgur.com/b7oQq.png" alt="enter image description here"></p>
