6 android:fadingEdge="horizontal" android:background="#222222" /> |
6 android:fadingEdge="horizontal" android:background="#222222" /> |
7 <ListView android:id="@+id/chat_messages" |
7 <ListView android:id="@+id/chat_messages" |
8 android:layout_width="fill_parent" android:layout_height="0dip" |
8 android:layout_width="fill_parent" android:layout_height="0dip" |
9 android:layout_weight="1" android:transcriptMode="normal" |
9 android:layout_weight="1" android:transcriptMode="normal" |
10 android:stackFromBottom="true" |
10 android:stackFromBottom="true" |
11 android:fadingEdge="none" android:padding="4px" |
11 android:fadingEdge="none" android:padding="4dp" |
12 android:fastScrollEnabled="true" android:smoothScrollbar="false" |
12 android:fastScrollEnabled="true" android:smoothScrollbar="false" |
13 android:focusable="true"/> |
13 android:focusable="true"/> |
14 <LinearLayout android:layout_width="fill_parent" |
14 <LinearLayout android:layout_width="fill_parent" |
15 android:layout_height="wrap_content" android:orientation="horizontal" |
15 android:layout_height="wrap_content" android:orientation="horizontal" |
16 android:background="#222222" android:padding="8px"> |
16 android:background="#222222" android:padding="8dp"> |
17 <EditText android:id="@+id/chat_input" android:layout_width="0dip" |
17 <EditText android:id="@+id/chat_input" android:layout_width="0dip" |
18 android:layout_height="fill_parent" android:layout_weight="1" |
18 android:layout_height="fill_parent" android:layout_weight="1" |
19 android:maxLines="5" |
19 android:maxLines="5" |
20 android:inputType="textShortMessage|textAutoCorrect|textMultiLine" |
20 android:inputType="textShortMessage|textAutoCorrect|textMultiLine" |
21 android:imeOptions="actionSend" android:cursorVisible="true" |
21 android:imeOptions="actionSend" android:cursorVisible="true" |