title: Android align two buttons on same line
body: <p>I need to align <code>button,</code>and <code>textview</code>  in on same line,<em>button aligned right side and textview also aligned right side</em>,<br>
  I tried lot of methods but aligned first textview then aligned button,
  how to solve this problem please any one help and solve my problem in programatically,
  aligned success in layout xml design but I need it <em>programatically</em>.</p>