res/layout/chat.xml
changeset 946 7caab0161cf9
parent 904 c067ee9a604c
child 947 3c5724d30887
equal deleted inserted replaced
945:89f1be755b8d 946:7caab0161cf9
     3 	android:layout_width="fill_parent" android:layout_height="fill_parent"
     3 	android:layout_width="fill_parent" android:layout_height="fill_parent"
     4 	android:orientation="vertical">
     4 	android:orientation="vertical">
     5 	<LinearLayout android:id="@+id/chat_header"
     5 	<LinearLayout android:id="@+id/chat_header"
     6 		android:layout_width="fill_parent" android:layout_height="wrap_content"
     6 		android:layout_width="fill_parent" android:layout_height="wrap_content"
     7 		android:orientation="horizontal" android:gravity="center_vertical"
     7 		android:orientation="horizontal" android:gravity="center_vertical"
     8 		android:background="#222222" android:padding="4px">
     8 		android:background="#222222" android:padding="4dp">
     9 		<ImageView android:id="@+id/chat_contact_status_icon"
     9 		<ImageView android:id="@+id/chat_contact_status_icon"
    10 			android:src="@drawable/avatar_status"
    10 			android:src="@drawable/avatar_status"
    11 			android:layout_width="24dip"
    11 			android:layout_width="24dip"
    12 			android:layout_height="24dip"
    12 			android:layout_height="24dip"
    13 			/>
    13 			/>
    34 		android:fadingEdge="horizontal" android:background="#555555" />
    34 		android:fadingEdge="horizontal" android:background="#555555" />
    35 	<ListView android:id="@+id/chat_messages"
    35 	<ListView android:id="@+id/chat_messages"
    36 		android:layout_width="fill_parent" android:layout_height="0dip"
    36 		android:layout_width="fill_parent" android:layout_height="0dip"
    37 		android:layout_weight="1" android:transcriptMode="normal"
    37 		android:layout_weight="1" android:transcriptMode="normal"
    38 		android:stackFromBottom="true"
    38 		android:stackFromBottom="true"
    39 		android:fadingEdge="none" android:padding="4px"
    39 		android:fadingEdge="none" android:padding="4dp"
    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:background="#222222" android:padding="8px">
    44 		android:background="#222222" android:padding="8dp">
    45 		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
    45 		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
    46 			android:layout_height="fill_parent" android:layout_weight="1"
    46 			android:layout_height="fill_parent" android:layout_weight="1"
    47 			android:maxLines="5"
    47 			android:maxLines="5"
    48 			android:inputType="textShortMessage|textAutoCorrect|textMultiLine"
    48 			android:inputType="textShortMessage|textAutoCorrect|textMultiLine"
    49 			android:imeOptions="actionSend" android:cursorVisible="true"
    49 			android:imeOptions="actionSend" android:cursorVisible="true"