Source

noodlenote-android-client / Project / res / layout / main.xml

Full commit
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mainBackground"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#e5e5e5" >

    <RelativeLayout
        android:id="@+id/mainTitlebar"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:background="@drawable/title_bar" >

        <ImageView
            android:id="@+id/mainSearch"
            android:layout_width="26px"
            android:layout_height="26px"
            android:layout_alignParentRight="true"
            android:layout_marginRight="20dp"
            android:layout_marginTop="8dp"
            android:src="@drawable/top_search_button" />

        <ImageView
            android:id="@+id/mainAdd"
            android:layout_width="26px"
            android:layout_height="26px"
            android:layout_marginRight="20dp"
            android:layout_toLeftOf="@id/mainSearch"
            android:layout_marginTop="8dp"
            android:src="@drawable/top_add_button" />
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/listContent"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/mainTitlebar" >

        <ListView
            android:id="@+id/mainListView"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:cacheColorHint="#00000000"
            android:fadingEdge="none"
            android:fadeScrollbars="true"
            android:scrollbars="vertical"
            android:scrollingCache="false" 
            android:background="#e5e5e5"
            >
        </ListView>
    </RelativeLayout>

    <RelativeLayout
        android:id="@+id/tabContent"
        android:layout_width="fill_parent"
        android:layout_height="50dp"
        android:layout_alignParentBottom="true"
        android:background="@drawable/bottom_button" >

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="6.0"
            android:orientation="horizontal" >

            <RelativeLayout
                android:id="@+id/tabLayout1"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_weight="1.0" >

                <ImageView
                    android:id="@+id/tab1"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:src="@drawable/bottom_button_history" />
            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/tabLayout2"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_weight="1.0" >

                <ImageView
                    android:id="@+id/tab2"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:src="@drawable/bottom_button_notebook" />
            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/tabLayout3"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_weight="1.0" >

                <ImageView
                    android:id="@+id/tab3"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:src="@drawable/bottom_button_bookmark" />
            </RelativeLayout>
        </LinearLayout>
    </RelativeLayout>

</RelativeLayout>