<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<!--
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/top_bar_middle"
android:orientation="horizontal" >
<Button
android:id="@+id/exitButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="10sp"
android:text="@string/exit" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="8"
android:gravity="center"
android:textSize="20sp"
android:text="@string/heading" />
<Button
android:id="@+id/setButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="10sp"
android:text="@string/set" />
</LinearLayout>
-->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="50dip"
android:background="@drawable/top_bar_middle"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingRight="2dip" >
<TextView
android:id="@+id/exitButton"
android:layout_width="60dip"
android:layout_height="35dip"
android:layout_gravity="center_vertical"
android:background="@drawable/top_bar_back"
android:gravity="center_vertical"
android:paddingLeft="20dip"
android:text="@string/exit"
android:textColor="#FFFFFF"
android:textSize="15sp" >
</TextView>
<TextView
android:layout_width="80dip"
android:layout_height="50dip"
android:layout_gravity="center_vertical|center"
android:gravity="center"
android:text="@string/heading"
android:textColor="#9535ff"
android:textSize="19sp" >
</TextView>
<TextView
android:id="@+id/setButton"
android:layout_width="50dp"
android:layout_height="35dip"
android:layout_gravity="center_vertical|right"
android:background="@drawable/top_bar_reg_d"
android:gravity="center"
android:text="@string/set"
android:textColor="#FFFFFF"
android:textSize="15sp" >
</TextView>
</FrameLayout>
<TabHost
android:id="@+id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TabWidget
android:id="@android:id/tabs"
android:background="@drawable/tab_bar"
android:layout_width="match_parent"
android:layout_height="50dip"/>
<FrameLayout
android:id="@android:id/tabcontent"
android:background="@drawable/menu_bg"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
android:id="@+id/list0"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0099ff"
android:dividerHeight="0.5dip" />
<!-- android:background="#90FF00" -->
<ListView
android:id="@+id/list1"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0099ff"
android:dividerHeight="0.5dip" />
<!-- android:background="#FFFF00" -->
<ListView
android:id="@+id/list2"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0099ff"
android:dividerHeight="0.5dip" />
<!-- android:background="#90FF0D" -->
<ListView
android:id="@+id/list3"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0099ff"
android:dividerHeight="0.5dip" />
<!-- android:background="#00FF0D" -->
<ListView
android:id="@+id/list4"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0099ff"
android:dividerHeight="0.5dip" />
<!-- android:background="#90FF0D" -->
<ListView
android:id="@+id/list5"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0099ff"
android:dividerHeight="0.5dip" />
<!-- android:background="#FFFF00" -->
<ListView
android:id="@+id/list6"
android:scrollbars="none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#0099ff"
android:dividerHeight="0.5dip" />
<!-- android:background="#90FF0D" -->
</FrameLayout>
</LinearLayout>
</TabHost>
</LinearLayout>
还有上课提醒功能界面
<?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="vertical" >
<!--
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#90FF00">
<Button
android:id="@+id/backtoMainButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="10sp"
android:layout_weight="1"
android:text="@string/back" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/set"
android:textSize="20sp"
android:layout_weight="8"
android:gravity="center"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="5"
android:textSize="15sp" />
</LinearLayout>
-->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="50dip"
android:background="@drawable/top_bar_middle"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingRight="2dip" >
<TextView
android:id="@+id/backtoMainButton"
android:layout_width="60dip"
android:layout_height="35dip"
android:layout_gravity="center_vertical"
android:background="@drawable/top_bar_back"
android:gravity="center_vertical"
android:paddingLeft="20dip"
android:text="@string/back"
android:textColor="#FFFFFF"
android:textSize="15sp" >
</TextView>
<TextView
android:layout_width="80dip"
android:layout_height="50dip"
android:layout_gravity="center_vertical|center"
android:gravity="center"
android:text="@string/set"
android:textColor="#000000"
android:textSize="19sp" >
</TextView>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/ver_bg" >
<TextView
android:layout_width="match_parent"
android:layout_height="30dip"
android:paddingLeft="10dp"
android:gravity="center_vertical|left"
android:text="@string/message_set"
android:textColor="#888800"
android:textSize="15sp"
android:background="@drawable/tab_bar" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="10sp" />
<Switch
android:id="@+id/switch_remind"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:text="@string/remind"
android:textColor="#058"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="20dip" />
<TextView
android:layout_width="match_parent"
android:layout_height="30dip"
android:paddingLeft="10dp"
android:gravity="center_vertical|left"
android:text="@string/about_app"
android:textColor="#888800"
android:textSize="15sp"
android:background="@drawable/tab_bar" />
<TextView
android:id="@+id/about_revision"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:text="@string/revision"
android:textSize="20sp"
android:clickable="true"
android:textColor="#058"
android:onClick="click_version" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="10sp" />
<TextView
android:id="@+id/about_us"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:text="@string/us"
android:textSize="20sp"
android:clickable="true"
android:textColor="#058"
android:onClick="click_us" />
</LinearLayout>
</LinearLayout>