res/layout/main.xml
changeset 4 c36eb0599813
parent 0 ea84f930b04a
child 5 accfe4a4010f
--- a/res/layout/main.xml	Wed Mar 11 17:29:46 2009 +0100
+++ b/res/layout/main.xml	Sat Mar 14 23:36:04 2009 +0100
@@ -1,13 +1,40 @@
 <?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"
-    >
-<TextView  
-    android:layout_width="fill_parent" 
-    android:layout_height="wrap_content" 
-    android:text="Hello World, Beem"
-    />
+	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>