res/layout/chat_compact.xml
author Nikita Kozlov <nikita@elyzion.net>
Sat, 05 Nov 2011 22:27:58 +0100
changeset 921 319ce14e4826
parent 904 64f37098247c
permissions -rw-r--r--
modify otr chat status for already openned chat when the participant goes offline

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent" android:layout_height="fill_parent"
	android:orientation="vertical">
	<View android:layout_width="fill_parent" android:layout_height="2dp"
		android:fadingEdge="horizontal" android:background="#222222" />
	<ListView android:id="@+id/chat_messages"
		android:layout_width="fill_parent" android:layout_height="0dip"
		android:layout_weight="1" android:transcriptMode="normal"
		android:stackFromBottom="true"
		android:fadingEdge="none" android:padding="4px"
		android:fastScrollEnabled="true" android:smoothScrollbar="false"
		android:focusable="true"/>
	<LinearLayout android:layout_width="fill_parent"
		android:layout_height="wrap_content" android:orientation="horizontal"
		android:background="#222222" android:padding="8px">
		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
			android:layout_height="fill_parent" android:layout_weight="1"
			android:maxLines="5"
			android:inputType="textShortMessage|textAutoCorrect|textMultiLine|textCapSentences"
			android:imeOptions="actionSend" android:cursorVisible="true"
			android:hint="@string/chat_input_default_value" />
		<Button android:id="@+id/chat_send_message"
			android:layout_width="wrap_content" android:layout_height="fill_parent"
			android:text="@string/chat_send_message" />
	</LinearLayout>
</LinearLayout>