Three button width on screen Android
<p>How can i set three buttons next to each other to fit screen size of screen in android.
For 50% 50% of screen this is used. but if i want to add a third button how can i achieve this. i.e. 35% 35% 35% and 5% for space.</p>

<pre><code>&lt;LinearLayout
 xmlns:android="http://schemas.android.com/apk/res/android"
 android:layout_height="wrap_content"
 android:layout_width="fill_parent"
 android:orientation="horizontal"
 android:weightSum="1.0"&gt;
 &lt;Button
  android:id="@+id/textbox3"
  android:layout_height="wrap_content"
  android:layout_weight=".5"
  android:layout_width="0dip"
  android:textSize="12sp" /&gt;
&lt;/LinearLayout&gt;
</code></pre>
