res/layout/sendim.xml
author Philippe Lago <lago_p@epitech.net>
Thu, 23 Apr 2009 22:19:41 +0200
changeset 152 f14b3fcf65c8
parent 143 6f6f5838aef9
child 171 b214244738f7
permissions -rw-r--r--
plein de retouche ui

<?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">
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/beem_sendim_header_1"
        android:gravity="center_vertical" >

        <ImageView
        	android:id="@+id/sendimavatar"
        	android:src="@drawable/avatar"
        	android:adjustViewBounds="true"
        	android:maxWidth="70dip"
            android:maxHeight="70dip"
            android:padding="10dip"
        	android:layout_width="wrap_content"
            android:layout_height="wrap_content"
             />

		<LinearLayout
			android:orientation="vertical"
        	android:layout_width="fill_parent"
        	android:layout_height="wrap_content" >
        	<TextView android:id="@+id/sendimlogin"
				android:layout_width="fill_parent"
            	android:layout_height="wrap_content"            	
            	android:paddingLeft="10sp" />
			<TextView android:id="@+id/sendimstatus"
				android:layout_width="fill_parent"
            	android:layout_height="wrap_content"
            	android:lines="1"
            	android:scrollHorizontally="true"
            	android:hint="@string/SendIMNoStatusSet"
            	android:paddingLeft="15sp" />
		</LinearLayout>
</LinearLayout>

<!--    <LinearLayout
    	android:paddingLeft="5px"
    	android:paddingTop="5px"
    	android:background="@drawable/beem_sendim_header_1"
    	android:orientation="horizontal"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:layout_weight="4">
		
    	<ImageView android:id="@+id/sendimavatar"
    		android:layout_width="wrap_content"
    		android:layout_height="wrap_content"
    		android:maxHeight="80px"
    		android:layout_weight="5"
			android:src="@drawable/background"/>
			
        <LinearLayout
        	android:layout_width="fill_parent"
        	android:layout_height="fill_parent"
        	android:layout_weight="1"
        	android:orientation="vertical">
        	
	        <TextView android:id="@+id/sendimlogin"
	        	android:paddingLeft="15px"
	        	android:layout_width="wrap_content"
				android:layout_height="wrap_content"
	        	android:hint="@string/SendIMLoginHint"/>
	        	
	        <TextView android:id="@+id/sendimstatus"
	        	android:paddingLeft="20px"
	        	android:layout_width="wrap_content"
				android:layout_height="wrap_content"
	        	android:hint="@string/SendIMNoStatusSet"/>
        </LinearLayout>
    </LinearLayout>-->
    
	<ScrollView
		android:id="@+id/sendimscroll"
		android:layout_width="fill_parent"
		android:layout_height="fill_parent"
		android:background="@drawable/beem_sendim_textview"
		android:scrollbarTrackVertical="@drawable/scrollbar_vertical_track"
	    android:scrollbarThumbVertical="@drawable/scrollbar_vertical_thumb"
	    android:scrollbarSize="12dip"
		android:layout_weight="1">
		
		<TextView android:id="@+id/sendimlist"
			android:paddingLeft="10px"
	    	android:paddingRight="10px"
	    	android:paddingTop="10px"
	        android:layout_width="fill_parent"
        	android:layout_height="fill_parent"
        	android:singleLine="false"/>
        	
    </ScrollView>
        
    <EditText android:id="@+id/userText"
        android:layout_width="fill_parent"
        android:cursorVisible="false"
        android:hint="@string/SendIMToSendHint"
        android:layout_height="wrap_content" />
        
</LinearLayout>