res/layout/sendim.xml
changeset 190 079488da1bfc
parent 171 b214244738f7
child 276 673ee3896d50
equal deleted inserted replaced
189:dae38cc05ddf 190:079488da1bfc
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     3     android:orientation="vertical"
     3 	android:orientation="vertical" android:layout_width="fill_parent"
     4     android:layout_width="fill_parent" 
     4 	android:layout_height="fill_parent">
     5     android:layout_height="fill_parent">
     5 	<LinearLayout android:orientation="horizontal"
     6     <LinearLayout
     6 		android:layout_width="fill_parent" android:layout_height="wrap_content"
     7         android:orientation="horizontal"
     7 		android:gravity="center_vertical">
     8         android:layout_width="fill_parent"
       
     9         android:layout_height="wrap_content"
       
    10         android:gravity="center_vertical" >
       
    11 
     8 
    12         <ImageView
     9 		<ImageView android:id="@+id/sendimavatar" android:src="@drawable/avatar"
    13         	android:id="@+id/sendimavatar"
    10 			android:adjustViewBounds="true" android:maxWidth="70dip"
    14         	android:src="@drawable/avatar"
    11 			android:maxHeight="70dip" android:padding="10dip"
    15         	android:adjustViewBounds="true"
    12 			android:layout_width="wrap_content" android:layout_height="wrap_content" />
    16         	android:maxWidth="70dip"
       
    17             android:maxHeight="70dip"
       
    18             android:padding="10dip"
       
    19         	android:layout_width="wrap_content"
       
    20             android:layout_height="wrap_content"
       
    21              />
       
    22 
    13 
    23 		<LinearLayout
    14 		<LinearLayout android:orientation="vertical"
    24 			android:orientation="vertical"
    15 			android:layout_width="fill_parent" android:layout_height="wrap_content">
    25         	android:layout_width="fill_parent"
    16 			<TextView android:id="@+id/sendimlogin"
    26         	android:layout_height="wrap_content" >
    17 				android:layout_width="fill_parent" android:layout_height="wrap_content"
    27         	<TextView android:id="@+id/sendimlogin"
    18 				android:paddingLeft="10sp" />
    28 				android:layout_width="fill_parent"
       
    29             	android:layout_height="wrap_content"            	
       
    30             	android:paddingLeft="10sp" />
       
    31 			<TextView android:id="@+id/sendimstatus"
    19 			<TextView android:id="@+id/sendimstatus"
    32 				android:layout_width="fill_parent"
    20 				android:layout_width="fill_parent" android:layout_height="wrap_content"
    33             	android:layout_height="wrap_content"
    21 				android:lines="1" android:scrollHorizontally="true"
    34             	android:lines="1"
    22 				android:hint="@string/SendIMNoStatusSet" android:paddingLeft="15sp" />
    35             	android:scrollHorizontally="true"
       
    36             	android:hint="@string/SendIMNoStatusSet"
       
    37             	android:paddingLeft="15sp" />
       
    38 		</LinearLayout>
    23 		</LinearLayout>
    39 </LinearLayout>
    24 	</LinearLayout>
    40 
    25 
    41 <!--    <LinearLayout
    26 	<!--
    42     	android:paddingLeft="5px"
    27 		<LinearLayout android:paddingLeft="5px" android:paddingTop="5px"
    43     	android:paddingTop="5px"
    28 		android:background="@drawable/beem_sendim_header_1"
    44     	android:background="@drawable/beem_sendim_header_1"
    29 		android:orientation="horizontal" android:layout_width="fill_parent"
    45     	android:orientation="horizontal"
    30 		android:layout_height="wrap_content" android:layout_weight="4">
    46 		android:layout_width="fill_parent"
    31 
       
    32 		<ImageView android:id="@+id/sendimavatar"
       
    33 		android:layout_width="wrap_content"
       
    34 		android:layout_height="wrap_content" android:maxHeight="80px"
       
    35 		android:layout_weight="5" android:src="@drawable/background"/>
       
    36 
       
    37 		<LinearLayout android:layout_width="fill_parent"
       
    38 		android:layout_height="fill_parent" android:layout_weight="1"
       
    39 		android:orientation="vertical"> <TextView
       
    40 		android:id="@+id/sendimlogin" android:paddingLeft="15px"
       
    41 		android:layout_width="wrap_content"
    47 		android:layout_height="wrap_content"
    42 		android:layout_height="wrap_content"
    48 		android:layout_weight="4">
    43 		android:hint="@string/SendIMLoginHint"/> <TextView
    49 		
    44 		android:id="@+id/sendimstatus" android:paddingLeft="20px"
    50     	<ImageView android:id="@+id/sendimavatar"
    45 		android:layout_width="wrap_content"
    51     		android:layout_width="wrap_content"
    46 		android:layout_height="wrap_content"
    52     		android:layout_height="wrap_content"
    47 		android:hint="@string/SendIMNoStatusSet"/> </LinearLayout>
    53     		android:maxHeight="80px"
    48 		</LinearLayout>
    54     		android:layout_weight="5"
    49 	-->
    55 			android:src="@drawable/background"/>
    50 
    56 			
    51 	<ScrollView android:id="@+id/sendimscroll"
    57         <LinearLayout
    52 		android:layout_width="fill_parent" android:layout_height="fill_parent"
    58         	android:layout_width="fill_parent"
       
    59         	android:layout_height="fill_parent"
       
    60         	android:layout_weight="1"
       
    61         	android:orientation="vertical">
       
    62         	
       
    63 	        <TextView android:id="@+id/sendimlogin"
       
    64 	        	android:paddingLeft="15px"
       
    65 	        	android:layout_width="wrap_content"
       
    66 				android:layout_height="wrap_content"
       
    67 	        	android:hint="@string/SendIMLoginHint"/>
       
    68 	        	
       
    69 	        <TextView android:id="@+id/sendimstatus"
       
    70 	        	android:paddingLeft="20px"
       
    71 	        	android:layout_width="wrap_content"
       
    72 				android:layout_height="wrap_content"
       
    73 	        	android:hint="@string/SendIMNoStatusSet"/>
       
    74         </LinearLayout>
       
    75     </LinearLayout>-->
       
    76     
       
    77 	<ScrollView
       
    78 		android:id="@+id/sendimscroll"
       
    79 		android:layout_width="fill_parent"
       
    80 		android:layout_height="fill_parent"
       
    81 		android:background="@drawable/beem_sendim_textview"
    53 		android:background="@drawable/beem_sendim_textview"
    82 		android:scrollbarTrackVertical="@drawable/scrollbar_vertical_track"
    54 		android:scrollbarTrackVertical="@drawable/scrollbar_vertical_track"
    83 	    android:scrollbarThumbVertical="@drawable/scrollbar_vertical_thumb"
    55 		android:scrollbarThumbVertical="@drawable/scrollbar_vertical_thumb"
    84 	    android:scrollbarSize="12dip"
    56 		android:scrollbarSize="12dip" android:layout_weight="1">
    85 		android:layout_weight="1">
    57 
    86 		
    58 		<TextView android:id="@+id/sendimlist" android:paddingLeft="10px"
    87 		<TextView android:id="@+id/sendimlist"
    59 			android:paddingRight="10px" android:paddingTop="10px"
    88 			android:paddingLeft="10px"
    60 			android:layout_width="fill_parent" android:layout_height="fill_parent"
    89 	    	android:paddingRight="10px"
    61 			android:singleLine="false" />
    90 	    	android:paddingTop="10px"
    62 
    91 	        android:layout_width="fill_parent"
    63 	</ScrollView>
    92         	android:layout_height="fill_parent"
    64 
    93         	android:singleLine="false"/>
    65 	<EditText android:id="@+id/userText" android:layout_width="fill_parent"
    94         	
    66 		android:cursorVisible="false" android:hint="@string/SendIMToSendHint"
    95     </ScrollView>
    67 		android:layout_height="wrap_content" />
    96         
    68 
    97     <EditText android:id="@+id/userText"
       
    98         android:layout_width="fill_parent"
       
    99         android:cursorVisible="false"
       
   100         android:hint="@string/SendIMToSendHint"
       
   101         android:layout_height="wrap_content" />
       
   102         
       
   103 </LinearLayout>
    69 </LinearLayout>