res/layout/chat_compact.xml
author Da Risk <da_risk@beem-project.com>
Sun, 24 Apr 2011 02:02:26 +0200
changeset 886 64f37098247c
parent 826 ac719bcb0f25
child 969 142f330bd3f6
permissions -rw-r--r--
various soft keyboard improvements. fix #268
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"
886
64f37098247c various soft keyboard improvements.
Da Risk <da_risk@beem-project.com>
parents: 826
diff changeset
    20
			android:inputType="textShortMessage|textAutoCorrect|textMultiLine|textCapSentences"
826
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>