res/layout/sendim.xml
changeset 504 2674b5a97537
parent 503 93e5d2d9953f
child 505 62f096393033
equal deleted inserted replaced
503:93e5d2d9953f 504:2674b5a97537
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
       
     3 	android:orientation="vertical" android:layout_width="fill_parent"
       
     4 	android:layout_height="fill_parent">
       
     5 	<LinearLayout android:orientation="horizontal"
       
     6 		android:layout_width="fill_parent" android:layout_height="wrap_content"
       
     7 		android:gravity="center_vertical"
       
     8 		android:background="#222222"
       
     9 		android:padding="4px">
       
    10 
       
    11 		<ImageView android:id="@+id/sendimstatus"
       
    12 			android:adjustViewBounds="true" android:maxWidth="15dip"
       
    13 			android:maxHeight="12px" android:layout_width="wrap_content"
       
    14 			android:layout_height="wrap_content" android:gravity="center_vertical" />
       
    15 
       
    16 		<LinearLayout android:orientation="vertical"
       
    17 			android:layout_width="fill_parent" android:layout_height="wrap_content">
       
    18 			<TextView android:id="@+id/sendimlogin"
       
    19 				android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    20 				android:lines="1" android:singleLine="true" android:paddingLeft="15sp"
       
    21 				android:textSize="14sp" android:textStyle="bold" android:textColor="#FFFFFF" />
       
    22 			<TextView android:id="@+id/sendimstatusmsg"
       
    23 				android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    24 				android:lines="1" android:singleLine="true" android:scrollHorizontally="true"
       
    25 				android:hint="@string/SendIMNoStatusSet" android:paddingLeft="15sp"
       
    26 				android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF" />
       
    27 		</LinearLayout>
       
    28 	</LinearLayout>
       
    29 
       
    30 	<View android:layout_width="fill_parent"
       
    31 		android:layout_height="2dp"
       
    32 		android:fadingEdge="horizontal"
       
    33 		android:background="#555555" />
       
    34 
       
    35 	<ScrollView android:id="@+id/sendimscroll"
       
    36 		android:layout_width="fill_parent" android:layout_height="fill_parent"
       
    37 		android:scrollbarTrackVertical="@drawable/scrollbar_vertical_track"
       
    38 		android:scrollbarThumbVertical="@drawable/scrollbar_vertical_thumb"
       
    39 		android:scrollbarSize="12dip"
       
    40 		android:layout_weight="1"
       
    41 		android:layout_marginBottom="6sp"
       
    42 		android:padding="4px">
       
    43 
       
    44 		<TextView android:id="@+id/sendimlist" android:padding="8sp"
       
    45 			android:layout_width="fill_parent" android:layout_height="fill_parent"
       
    46 			android:textColor="@color/white"
       
    47 			android:singleLine="false" />
       
    48 
       
    49 	</ScrollView>
       
    50 
       
    51 	<EditText android:id="@+id/userText" android:layout_width="fill_parent"
       
    52 		android:inputType="textShortMessage|textAutoCorrect" android:imeOptions="actionSend"
       
    53 		android:cursorVisible="false" android:hint="@string/SendIMToSendHint"
       
    54 		android:layout_height="wrap_content" />
       
    55 
       
    56 </LinearLayout>