res/layout/sendim.xml
author Philippe Lago <lago_p@epitech.net>
Tue, 14 Apr 2009 18:54:10 +0200
changeset 102 e3e8bf449590
parent 101 ccc48305bdeb
child 103 2320ab48e829
permissions -rw-r--r--
le header de conversation pas beau avec l'avatar le login et le status du correspondant, toujours pas trouvé le pb de rafraichissement des messages. Si qq'un a une idée...

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent">
    
    <RelativeLayout
    	android:paddingLeft="10px"
    	android:paddingRight="10px"
    	android:paddingTop="10px"
    	android:background="@color/blue_sky"
    	android:orientation="horizontal"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content">
		
    	<ImageView android:id="@+id/sendimavatar"
    		android:layout_width="wrap_content"
    		android:layout_height="wrap_content"
			android:src="@drawable/avatar"/>
        
        <TextView android:id="@+id/sendimlogin"
        	android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_alignTop="@id/sendimavatar"
			android:layout_toRightOf="@id/sendimavatar"
        	android:hint="@string/SendIMLoginHint"/>
    </RelativeLayout>
	
	<ListView android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:choiceMode="none" 
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:transcriptMode="alwaysScroll"/>
        
    <EditText android:id="@+id/userText"
        android:layout_width="fill_parent"
        android:cursorVisible="false"
        android:hint="@string/SendIMToSendHint"
        android:layout_height="wrap_content" />
        
</LinearLayout>