title: How to Underline Text of Button in Android?
body: <p>I have a button which is transparent and has an icon and text. </p>
  
  <p>I want to underline the text of the button but i have not been able to do this. </p>
  
  <p>Below is my xml code:</p>
  
  <pre><code>&lt;Button
       android:id="@+id/parkButton"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:drawableStart="@drawable/park"
       android:text="@string/button_name"
       android:background="@android:color/transparent"
       android:textColor="@android:color/black"/&gt;
  </code></pre>
  
  <p>And the String file has:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;string name="button_name"&gt;&lt;u&gt;Parking Areas&lt;/u&gt;&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>This approach works in TextView, but not in Button.
  Any suggestion?</p>