<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/chat_parent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg01"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="48dip"
android:background="@drawable/global_top_background"
android:focusable="true"
android:focusableInTouchMode="true">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/title_bar_center_button_bg"
android:gravity="center"
android:orientation="horizontal" >
<TextView
android:id="@+id/chat_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="middle"
android:maxWidth="150dip"
android:padding="8dip"
android:singleLine="true"
android:textColor="#ffffff"
android:textSize="18sp" />
</LinearLayout>
<Button
android:id="@+id/chat_back"
android:layout_width="48dip"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_marginBottom="8dip"
android:layout_marginLeft="8dip"
android:layout_marginTop="8dip"
android:background="@drawable/title_text_button_left_arrow"
android:text="返回"
android:textColor="#FFFFFF"
android:textSize="14sp"
android:textStyle="bold" />
<Button
android:id="@+id/chat_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="8dip"
android:background="@drawable/title_action_button" />
</RelativeLayout>
<ListView
android:id="@+id/chat_display"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:cacheColorHint="#00000000"
android:divider="@null"
android:listSelector="#00000000" >
</ListView>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="48dip"
android:background="@drawable/write_function_bg"
android:gravity="center_vertical">
<Button
android:id="@+id/chat_face"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/chat_edit_face_style" />
<EditText
android:id="@+id/chat_content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:background="@drawable/edit_input_bg"
android:layout_margin="8dip"
android:hint="回复..."
android:textSize="14sp"
android:maxLines="2"/>
<Button
android:id="@+id/chat_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/chat_edit_send_bg"
android:text="发送"
android:textColor="#888888"
android:gravity="center"/>
</LinearLayout>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/chat_parent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg01"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="48dip"
android:background="@drawable/global_top_background"
android:focusable="true"
android:focusableInTouchMode="true">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/title_bar_center_button_bg"
android:gravity="center"
android:orientation="horizontal" >
<TextView
android:id="@+id/chat_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="middle"
android:maxWidth="150dip"
android:padding="8dip"
android:singleLine="true"
android:textColor="#ffffff"
android:textSize="18sp" />
</LinearLayout>
<Button
android:id="@+id/chat_back"
android:layout_width="48dip"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_marginBottom="8dip"
android:layout_marginLeft="8dip"
android:layout_marginTop="8dip"
android:background="@drawable/title_text_button_left_arrow"
android:text="返回"
android:textColor="#FFFFFF"
android:textSize="14sp"
android:textStyle="bold" />
<Button
android:id="@+id/chat_action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="8dip"
android:background="@drawable/title_action_button" />
</RelativeLayout>
<ListView
android:id="@+id/chat_display"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:cacheColorHint="#00000000"
android:divider="@null"
android:listSelector="#00000000" >
</ListView>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="48dip"
android:background="@drawable/write_function_bg"
android:gravity="center_vertical">
<Button
android:id="@+id/chat_face"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/chat_edit_face_style" />
<EditText
android:id="@+id/chat_content"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:background="@drawable/edit_input_bg"
android:layout_margin="8dip"
android:hint="回复..."
android:textSize="14sp"
android:maxLines="2"/>
<Button
android:id="@+id/chat_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/chat_edit_send_bg"
android:text="发送"
android:textColor="#888888"
android:gravity="center"/>
</LinearLayout>
</LinearLayout>