<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <TableRow
        android:id="@+id/tableRow2"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:stretchColumns="0,1,2" >

        <TextView
            android:id="@+id/textView2"
            android:layout_width="0dip"
            android:layout_height="fill_parent"
            android:layout_marginRight="2dip"
            android:layout_weight="0.6"
            android:background="@drawable/palmtitle"
            android:focusable="true"
            android:gravity="center_vertical|center_horizontal"
            android:maxLines="1"
            android:paddingLeft="2dip"
            android:paddingRight="2dip"
            android:text="@string/app_name"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textColor="#ffffff" />

        <Spinner
            android:id="@+id/spinner2"
            android:layout_width="0dip"
            android:layout_height="wrap_content"
            android:layout_weight="0.6"
            android:gravity="right|center_vertical" />

        </TableRow>

    <TableRow
        android:id="@+id/tableRow3"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true" >

        <Button
            android:id="@+id/button1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/label_new"
            android:width="96dip" />

    </TableRow>

    <ListView
        android:id="@+id/listView1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/tableRow3"
        android:layout_alignParentLeft="true"
        android:layout_below="@+id/tableRow2"
        android:fastScrollEnabled="true" >

    </ListView>

</RelativeLayout>
<!-- From: file:/home/kodakana/StudioProjects/Lesser%20Pad/app/src/main/res/layout/activity_lesser_pad_list.xml -->