res/layout/chat_compact.xml
author Nikita Kozlov <nikita@beem-project.com>
Sun, 16 Jan 2011 12:44:59 +0100
changeset 844 30d32b73be7c
parent 826 ac719bcb0f25
child 886 64f37098247c
permissions -rw-r--r--
fix Bug #321 I have commented the PrivacyListManagerAdapter initialization because the exception came from the underneath code. Also, since the feature isn't finished (especially tested) and enabled in the gui, it will be safer.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
826
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     3
	android:layout_width="fill_parent" android:layout_height="fill_parent"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     4
	android:orientation="vertical">
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     5
	<View android:layout_width="fill_parent" android:layout_height="2dp"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     6
		android:fadingEdge="horizontal" android:background="#222222" />
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     7
	<ListView android:id="@+id/chat_messages"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     8
		android:layout_width="fill_parent" android:layout_height="0dip"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
     9
		android:layout_weight="1" android:transcriptMode="normal"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    10
		android:stackFromBottom="true"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    11
		android:fadingEdge="none" android:padding="4px"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    12
		android:fastScrollEnabled="true" android:smoothScrollbar="false"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    13
		android:focusable="true"/>
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    14
	<LinearLayout android:layout_width="fill_parent"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    15
		android:layout_height="wrap_content" android:orientation="horizontal"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    16
		android:background="#222222" android:padding="8px">
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    17
		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    18
			android:layout_height="fill_parent" android:layout_weight="1"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    19
			android:maxLines="5"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    20
			android:inputType="textShortMessage|textAutoCorrect|textMultiLine"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    21
			android:imeOptions="actionSend" android:cursorVisible="true"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    22
			android:hint="@string/chat_input_default_value" />
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    23
		<Button android:id="@+id/chat_send_message"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    24
			android:layout_width="wrap_content" android:layout_height="fill_parent"
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    25
			android:text="@string/chat_send_message" />
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    26
	</LinearLayout>
ac719bcb0f25 Compact Chat window support + options in settings
"Vincent Veronis"
parents:
diff changeset
    27
</LinearLayout>