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