I want to create header like this image http://imgur.com/XrLXb0L
But my screen look like this
http://imgur.com/Ut4Eryl
How I will add 2 images one to the left and one to the right of the header???
Here is my code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffff"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/border" >
<ImageView
android:id="@+id/test_button_image"
android:layout_width="wrap_content"
android:paddingLeft="5dp"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:paddingTop="10dp"
android:src="@drawable/icon" >
</ImageView>
<TextView
android:id="@+id/test_button_text2"
android:layout_width="wrap_content"
android:paddingTop="10dp"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/test_button_image"
android:paddingLeft="10dp"
android:layout_toRightOf="@+id/test_button_image"
android:text="San Diego Unified"
android:textColor="#000000"
android:textSize="25sp" >
</TextView>
<TextView
android:id="@+id/test_button_text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:layout_alignLeft="@+id/test_button_text2"
android:layout_below="@+id/test_button_text2"
android:paddingBottom="10dp"
android:text="School District"
android:textColor="#000000" >
</TextView>
</RelativeLayout>
</LinearLayout>