res/layout/contactlistcontact.xml
changeset 60 aa70a805da17
parent 47 743ccc7961dc
child 77 0f474a0c4e93
equal deleted inserted replaced
59:ff98ffba21f4 60:aa70a805da17
     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="horizontal"
     3         android:orientation="horizontal"
     4         android:layout_width="fill_parent"
     4         android:layout_width="fill_parent"
     5         android:layout_height="50sp" 
     5         android:layout_height="wrap_content" 
     6         android:gravity="center_vertical" >
     6         android:gravity="center_vertical" >
     7 
     7 
     8         <ImageView android:id="@+id/avatar"
     8         <ImageView android:id="@+id/contactliststatus"
     9         	android:layout_width="70px"
     9         android:layout_weight="5"
    10             android:layout_height="40sp" />
    10         	android:layout_width="fill_parent"
       
    11             android:layout_height="wrap_content"
       
    12             android:gravity="center_vertical" />
       
    13 
    11 		<LinearLayout
    14 		<LinearLayout
    12 			android:orientation="vertical"
    15 			android:orientation="vertical"
       
    16 			android:layout_weight="1"
    13         	android:layout_width="fill_parent"
    17         	android:layout_width="fill_parent"
    14         	android:layout_height="40sp">
    18         	android:layout_height="wrap_content" >
    15         		
    19         	<TextView android:id="@+id/contactlistpseudo"
    16         	<TextView android:id="@+id/textchild1"
    20 				android:layout_width="fill_parent"
       
    21             	android:layout_height="wrap_content"            	
       
    22             	android:paddingLeft="20sp" />
       
    23 			<TextView android:id="@+id/contactlistmsgperso"
    17 				android:layout_width="fill_parent"
    24 				android:layout_width="fill_parent"
    18             	android:layout_height="wrap_content"
    25             	android:layout_height="wrap_content"
    19             	android:paddingLeft="20sp" />
    26             	android:paddingLeft="20sp" />
    20 
       
    21         	<TextView android:id="@+id/textchild2"
       
    22 				android:layout_width="fill_parent"
       
    23             	android:layout_height="wrap_content" />
       
    24 		</LinearLayout>
    27 		</LinearLayout>
    25 
    28 
       
    29         <ImageView android:id="@+id/contactlistavatar"
       
    30         	android:layout_weight="5"
       
    31         	android:layout_width="fill_parent"
       
    32             android:layout_height="wrap_content"
       
    33             android:gravity="center_vertical" />
       
    34             
    26 </LinearLayout> 
    35 </LinearLayout>