title: Create small button
body: <p>My intent is to create many buttons in a line so I think each button must be small.</p>
  
  <p>How to create small button like this?<br>
  <img src="https://i.stack.imgur.com/nA10v.png" alt="what I want"></p>
  
  <p>I tried the below code but it is not similar.<br>
  <img src="https://i.stack.imgur.com/960h7.png" alt="what I get"></p>
  
  <p>This is my <code>style.xml</code></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;style name="RightLink2" parent="@android:style/Widget.Button.Small"&gt;  
    &lt;item name="android:layout_height"&gt;wrap_content&lt;/item&gt;
    &lt;item name="android:layout_width"&gt;wrap_content&lt;/item&gt;
    &lt;item name="android:padding"&gt;2dip&lt;/item&gt;  
    &lt;item name="android:textSize"&gt;10dp&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>this is my layout.xml</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;LinearLayout android:layout_width="match_parent" android:id="@+id/linearLayout1" android:orientation="horizontal" android:layout_height="wrap_content" android:weightSum="1"&gt;
      &lt;Button android:id="@+id/myButton"        
      style="@style/RightLink2"
      android:text="Click here"/&gt;        
  &lt;/LinearLayout&gt;
  </code></pre>