res/layout/chat.xml
changeset 904 64f37098247c
parent 829 4b36a3c452e6
child 911 0de5ddd06ecd
equal deleted inserted replaced
903:7b5e29b3603b 904:64f37098247c
    39 		android:fadingEdge="none" android:padding="4px"
    39 		android:fadingEdge="none" android:padding="4px"
    40 		android:fastScrollEnabled="true" android:smoothScrollbar="false"
    40 		android:fastScrollEnabled="true" android:smoothScrollbar="false"
    41 		android:focusable="true"/>
    41 		android:focusable="true"/>
    42 	<LinearLayout android:layout_width="fill_parent"
    42 	<LinearLayout android:layout_width="fill_parent"
    43 		android:layout_height="wrap_content" android:orientation="horizontal"
    43 		android:layout_height="wrap_content" android:orientation="horizontal"
       
    44 		android:gravity="center_vertical"
    44 		android:background="#222222" android:padding="8px">
    45 		android:background="#222222" android:padding="8px">
    45 		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
    46 		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
    46 			android:layout_height="fill_parent" android:layout_weight="1"
    47 			android:layout_height="fill_parent" android:layout_weight="1"
    47 			android:maxLines="5"
    48 			android:maxLines="5"
    48 			android:inputType="textShortMessage|textAutoCorrect|textMultiLine"
    49 			android:inputType="textShortMessage|textAutoCorrect|textMultiLine|textCapSentences"
    49 			android:imeOptions="actionSend" android:cursorVisible="true"
    50 			android:imeOptions="actionSend" android:cursorVisible="true"
    50 			android:hint="@string/chat_input_default_value" />
    51 			android:hint="@string/chat_input_default_value" />
    51 		<Button android:id="@+id/chat_send_message"
    52 		<Button android:id="@+id/chat_send_message"
    52 			android:layout_width="wrap_content" android:layout_height="fill_parent"
    53 			android:layout_width="wrap_content" android:layout_height="wrap_content"
    53 			android:text="@string/chat_send_message" />
    54 			android:text="@string/chat_send_message" />
    54 	</LinearLayout>
    55 	</LinearLayout>
    55 </LinearLayout>
    56 </LinearLayout>