title: How Can I Align Button Text From Center
body: <p>In my application I've showing Two buttons .Which text are shown below . How can i align both's text from same line(Center). </p>
  
  <p>Hence clearly, I want to start Button Text "Amiyo" &amp; "Amiyo Biswas" From Same Line (Center)</p>
  
  <p>Here is my XML :</p>
  
  <pre><code> &lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="0dip"
      android:layout_weight=".75"
      android:orientation="vertical"
      android:layout_marginTop="15dp"
  
      &gt;
  
  
  
      &lt;Button          
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight=".10"
          android:text="Amiyo"           
          android:gravity="center"
          android:textAlignment="gravity"
          /&gt;
  
       &lt;Button          
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight=".10"
          android:text="Amiyo Biswas"           
          android:gravity="center_horizontal|center_vertical"
          android:textAlignment="gravity"
          /&gt;
  
      &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/oytIM.png" alt="enter image description here"></p>
  
  <p>I want like this alignment <img src="https://i.stack.imgur.com/dVQyz.jpg" alt="enter image description here"></p>