res/layout/chat.xml
author dasilvj
Fri, 06 Nov 2009 17:51:22 +0100
changeset 493 56af5554a081
parent 489 77c573c8217e
child 500 4da77df8f950
permissions -rw-r--r--
Save of the work on activity Chat.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
480
eb6f1fbea903 Premier jet de l'activite chat, devant remplacer par la suite SendIM.
dasilvj
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
493
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     3
	android:layout_width="wrap_content" android:layout_height="wrap_content"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     4
	android:orientation="vertical">
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     5
	<LinearLayout android:layout_width="fill_parent"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     6
		android:layout_height="wrap_content" android:gravity="center_vertical"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     7
		android:background="#222222" android:padding="4px">
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     8
		<ImageView android:id="@+id/chat_contact_status_icon"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     9
			android:adjustViewBounds="true" android:layout_width="wrap_content"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    10
			android:layout_height="wrap_content" android:gravity="center_vertical" />
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    11
		<LinearLayout android:orientation="vertical"
480
eb6f1fbea903 Premier jet de l'activite chat, devant remplacer par la suite SendIM.
dasilvj
parents:
diff changeset
    12
			android:layout_width="fill_parent" android:layout_height="wrap_content"
493
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    13
			android:paddingLeft="15sp">
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    14
			<TextView android:id="@+id/chat_contact_name"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    15
				android:layout_width="fill_parent" android:layout_height="wrap_content"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    16
				android:lines="1" android:singleLine="true" android:textSize="14sp"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    17
				android:textStyle="bold" android:textColor="#FFFFFF" />
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    18
			<TextView android:id="@+id/chat_contact_status_msg"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    19
				android:layout_width="fill_parent" android:layout_height="wrap_content"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    20
				android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF" />
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    21
		</LinearLayout>
480
eb6f1fbea903 Premier jet de l'activite chat, devant remplacer par la suite SendIM.
dasilvj
parents:
diff changeset
    22
	</LinearLayout>
493
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    23
	<View android:layout_width="fill_parent" android:layout_height="2dp"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    24
		android:fadingEdge="horizontal" android:background="#555555" />
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    25
	<ListView android:id="@+id/chat_messages"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    26
		android:layout_width="fill_parent" android:layout_height="fill_parent" />
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    27
	<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    28
		<EditText android:id="@+id/chat_input" android:layout_width="fill_parent"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    29
			android:layout_height="wrap_content" android:inputType="textShortMessage|textAutoComplete"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    30
			android:imeOptions="actionSend" android:cursorVisible="false"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    31
			android:hint="@string/chat_input_default_value"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    32
			android:layout_alignParentBottom="true" />
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    33
	</RelativeLayout>
480
eb6f1fbea903 Premier jet de l'activite chat, devant remplacer par la suite SendIM.
dasilvj
parents:
diff changeset
    34
</LinearLayout>