1
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:background="@drawable/top_bar_bg"
android:stretchColumns="1" >
<TableRow>
<ImageView
android:id="@+id/iv_icon"
android:layout_width="120dip"
android:layout_height="60dip"
android:src="@drawable/top_bar_logo"
android:layout_gravity="left"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="welcome"
android:layout_gravity="bottom"
android:textColor="#ffffff"
/>
<ImageView
android:id="@+id/iv_setbtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:gravity="right"
android:src="@drawable/top_bar_set_btn"
/>
</TableRow>
</TableLayout>
2