res/layout/sendim.xml
changeset 101 ccc48305bdeb
parent 84 9a4dbd7fe546
child 102 e3e8bf449590
equal deleted inserted replaced
100:c25c4f22a436 101:ccc48305bdeb
     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"
     4     android:layout_width="fill_parent" 
     4     android:layout_width="fill_parent" 
     5     android:layout_height="fill_parent">
     5     android:layout_height="fill_parent">
     6 
     6     
     7     <ListView android:id="@android:id/list"
     7     <RelativeLayout
     8         android:layout_width="fill_parent" 
     8     	android:paddingLeft="10px"
     9         android:layout_height="fill_parent"
     9     	android:paddingRight="10px"
       
    10     	android:paddingTop="10px"
       
    11     	android:background="@color/blue_sky"
       
    12     	android:orientation="horizontal"
       
    13 		android:layout_width="fill_parent"
       
    14 		android:layout_height="wrap_content">
       
    15 		
       
    16     	<ImageView android:id="@+id/sendimavatar"
       
    17     		android:layout_width="wrap_content"
       
    18 			android:src="@drawable/avatar" android:layout_height="20px"/>
       
    19         
       
    20         <TextView android:id="@+id/sendimlogin"
       
    21         	android:layout_width="wrap_content"
       
    22 			android:layout_height="wrap_content"
       
    23 			android:layout_alignTop="@id/sendimavatar"
       
    24 			android:layout_toRightOf="@id/sendimavatar"
       
    25         	android:hint="@string/SendIMLoginHint"/>
       
    26     </RelativeLayout>
       
    27 	
       
    28 	<ListView android:id="@android:id/list"
       
    29         android:layout_width="fill_parent"
       
    30         android:choiceMode="none" 
       
    31         android:layout_height="wrap_content"
    10         android:layout_weight="1"
    32         android:layout_weight="1"
    11         android:transcriptMode="alwaysScroll"/>
    33         android:transcriptMode="alwaysScroll"/>
    12         
    34         
    13     <EditText android:id="@+id/userText"
    35     <EditText android:id="@+id/userText"
    14         android:layout_width="fill_parent"
    36         android:layout_width="fill_parent"
    15         android:cursorVisible="false"
    37         android:cursorVisible="false"
    16         android:hint="@string/SendIMHint"
    38         android:hint="@string/SendIMToSendHint"
    17         android:layout_height="wrap_content" />
    39         android:layout_height="wrap_content" />
    18         
    40         
    19 </LinearLayout>
    41 </LinearLayout>