res/layout/main.xml
author marseille@marseille-desktop
Sat, 14 Mar 2009 23:36:04 +0100
changeset 4 c36eb0599813
parent 0 ea84f930b04a
child 5 accfe4a4010f
permissions -rw-r--r--
Add : .hgignore pour ignorer que hg ignore les fichiers useless ( ./bin/* et R.java ) logo.jpg cest notre logo affiche sur le screen de connection Creation de l'interface de connection. M :

<?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">

	<ImageView android:id="@+id/logo"
		android:src="@drawable/logo"
		android:adjustViewBounds="true"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"/>
		
	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
		android:orientation="horizontal"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content">
		<TextView android:text=" JID : "
			android:layout_width="wrap_content"
			android:layout_height="wrap_content" />
		<EditText android:id="@+id/jid"
			android:minWidth="300dp"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:singleLine="true"
			android:scrollHorizontally="true" />
	</LinearLayout>

	<EditText android:id="@+id/server"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:password="true"
		android:text="_password_" />

	<Button android:id="@+id/Connection"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:text="Connection" />

</LinearLayout>