res/layout/sendim.xml
author Philippe Lago <lago_p@epitech.net>
Mon, 13 Apr 2009 16:32:18 +0200
changeset 101 ccc48305bdeb
parent 84 9a4dbd7fe546
child 102 e3e8bf449590
permissions -rw-r--r--
toujours le probleme du rafraichissement lors de la reception d'un message

<?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:src="@drawable/avatar" android:layout_height="20px"/>
        
        <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>