1 <?xml version="1.0" encoding="utf-8"?> |
1 <?xml version="1.0" encoding="utf-8"?> |
2 <LinearLayout |
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 xmlns:android="http://schemas.android.com/apk/res/android" |
3 android:layout_width="wrap_content" android:layout_height="wrap_content" |
4 android:layout_width="wrap_content" |
4 android:orientation="vertical"> |
5 android:layout_height="wrap_content" |
5 <LinearLayout android:layout_width="fill_parent" |
6 android:orientation="vertical"> |
6 android:layout_height="wrap_content" android:gravity="center_vertical" |
7 <LinearLayout |
7 android:background="#222222" android:padding="4px"> |
8 android:layout_width="fill_parent" |
8 <ImageView android:id="@+id/chat_contact_status_icon" |
9 android:layout_height="wrap_content"> |
9 android:adjustViewBounds="true" android:layout_width="wrap_content" |
10 <ImageView android:id="@+id/chat_contact_status_icon" |
10 android:layout_height="wrap_content" android:gravity="center_vertical" /> |
11 android:adjustViewBounds="true" android:maxWidth="15dip" |
11 <LinearLayout android:orientation="vertical" |
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" |
12 android:layout_width="fill_parent" android:layout_height="wrap_content" |
20 android:lines="1" android:singleLine="true" android:paddingLeft="15sp" |
13 android:paddingLeft="15sp"> |
21 android:textSize="14sp" android:textStyle="bold" android:textColor="#FFFFFF" /> |
14 <TextView android:id="@+id/chat_contact_name" |
22 <TextView android:id="@+id/chat_contact_status_msg" |
15 android:layout_width="fill_parent" android:layout_height="wrap_content" |
23 android:layout_width="fill_parent" android:layout_height="wrap_content" |
16 android:lines="1" android:singleLine="true" android:textSize="14sp" |
24 android:lines="1" |
17 android:textStyle="bold" android:textColor="#FFFFFF" /> |
25 android:paddingLeft="15sp" |
18 <TextView android:id="@+id/chat_contact_status_msg" |
26 android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF" /> |
19 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
20 android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF" /> |
|
21 </LinearLayout> |
27 </LinearLayout> |
22 </LinearLayout> |
28 </LinearLayout> |
23 <View android:layout_width="fill_parent" android:layout_height="2dp" |
29 <LinearLayout |
24 android:fadingEdge="horizontal" android:background="#555555" /> |
30 android:layout_width="fill_parent" |
25 <ListView android:id="@+id/chat_messages" |
31 android:layout_height="wrap_content"> |
26 android:layout_width="fill_parent" android:layout_height="fill_parent" /> |
32 </LinearLayout> |
27 <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content"> |
33 <LinearLayout |
28 <EditText android:id="@+id/chat_input" android:layout_width="fill_parent" |
34 android:layout_width="fill_parent" |
29 android:layout_height="wrap_content" android:inputType="textShortMessage|textAutoComplete" |
35 android:layout_height="wrap_content"> |
30 android:imeOptions="actionSend" android:cursorVisible="false" |
36 <EditText android:id="@+id/chat_input" |
31 android:hint="@string/chat_input_default_value" |
37 android:layout_width="fill_parent" |
32 android:layout_alignParentBottom="true" /> |
38 android:layout_height="wrap_content" |
33 </RelativeLayout> |
39 android:inputType="textShortMessage|textAutoComplete" android:imeOptions="actionSend" |
|
40 android:cursorVisible="false" android:hint="@string/chat_input_default_value" /> |
|
41 </LinearLayout> |
|
42 </LinearLayout> |
34 </LinearLayout> |