res/layout/chat.xml
changeset 480 eb6f1fbea903
child 489 77c573c8217e
equal deleted inserted replaced
479:7782f6193322 480:eb6f1fbea903
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <LinearLayout
       
     3   xmlns:android="http://schemas.android.com/apk/res/android"
       
     4   android:layout_width="wrap_content"
       
     5   android:layout_height="wrap_content"
       
     6   android:orientation="vertical">
       
     7   <LinearLayout
       
     8   	android:layout_width="fill_parent"
       
     9   	android:layout_height="wrap_content">
       
    10   	<ImageView android:id="@+id/chat_contact_status_icon"
       
    11 		android:adjustViewBounds="true" android:maxWidth="15dip"
       
    12 		android:maxHeight="12px" android:layout_width="wrap_content"
       
    13 		android:layout_height="wrap_content" android:gravity="center_vertical" />
       
    14 	<LinearLayout
       
    15 		android:orientation="vertical"
       
    16 		android:layout_width="wrap_content"
       
    17 		android:layout_height="wrap_content">
       
    18 		<TextView android:id="@+id/chat_contact_name"
       
    19 			android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    20 			android:lines="1" android:singleLine="true" android:paddingLeft="15sp"
       
    21 			android:textSize="14sp" android:textStyle="bold" android:textColor="#FFFFFF" />
       
    22 		<TextView android:id="@+id/chat_contact_status_msg"
       
    23 			android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    24 			android:lines="1"
       
    25 			android:paddingLeft="15sp"
       
    26 			android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF" />
       
    27 	</LinearLayout>
       
    28   </LinearLayout>
       
    29   <LinearLayout
       
    30   	android:layout_width="fill_parent"
       
    31   	android:layout_height="wrap_content">
       
    32   </LinearLayout>
       
    33   <LinearLayout
       
    34   	android:layout_width="fill_parent"
       
    35   	android:layout_height="wrap_content">
       
    36 	<EditText android:id="@+id/chat_input"
       
    37 		android:layout_width="fill_parent"
       
    38 		android:layout_height="wrap_content"
       
    39 		android:cursorVisible="false" android:hint="@string/chat_input_default_value" />
       
    40   </LinearLayout>
       
    41 </LinearLayout>