27 </LinearLayout> |
27 </LinearLayout> |
28 </LinearLayout> |
28 </LinearLayout> |
29 <View android:layout_width="fill_parent" android:layout_height="2dp" |
29 <View android:layout_width="fill_parent" android:layout_height="2dp" |
30 android:fadingEdge="horizontal" android:background="#555555" /> |
30 android:fadingEdge="horizontal" android:background="#555555" /> |
31 <ListView android:id="@+id/chat_messages" |
31 <ListView android:id="@+id/chat_messages" |
32 android:layout_width="fill_parent" android:layout_height="0px" |
32 android:layout_width="fill_parent" android:layout_height="0dip" |
33 android:layout_weight="1" android:transcriptMode="normal" |
33 android:layout_weight="1" android:transcriptMode="normal" |
34 android:fastScrollEnabled="true" android:smoothScrollbar="false" |
34 android:fastScrollEnabled="true" android:smoothScrollbar="false" |
35 android:layout_marginBottom="20sp" android:padding="4px" /> |
35 android:layout_marginBottom="20sp" android:padding="4px" /> |
36 <LinearLayout android:layout_width="fill_parent" |
36 <LinearLayout android:layout_width="fill_parent" |
37 android:layout_height="wrap_content" android:orientation="horizontal" |
37 android:layout_height="wrap_content" android:orientation="horizontal" |
38 android:background="#222222" android:padding="8px"> |
38 android:background="#222222" android:padding="8px"> |
39 <EditText android:id="@+id/chat_input" android:layout_width="wrap_content" |
39 <EditText android:id="@+id/chat_input" android:layout_width="0dip" |
40 android:layout_height="fill_parent" android:layout_weight="1" |
40 android:layout_height="fill_parent" android:layout_weight="1" |
41 android:maxLines="5" |
41 android:maxLines="5" |
42 android:inputType="textShortMessage|textAutoCorrect|textMultiLine" |
42 android:inputType="textShortMessage|textAutoCorrect|textMultiLine" |
43 android:imeOptions="actionSend" android:cursorVisible="true" |
43 android:imeOptions="actionSend" android:cursorVisible="true" |
44 android:hint="@string/chat_input_default_value" /> |
44 android:hint="@string/chat_input_default_value" /> |