<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<Button
android:id="@+id/fgbt1"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="1"
android:background="#0000ff"
/>
<Button
android:id="@+id/fgbt2"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="1"
android:background="#ffffff"
/>
<Button
android:id="@+id/fgbt3"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="1"
android:background="#ff0000"
/>
</LinearLayout>