res/layout/wizard_account_configure.xml
changeset 703 8cd09cb7b00b
parent 699 aa9aa525a5a6
child 767 74a987c3efb5
--- a/res/layout/wizard_account_configure.xml	Sun Mar 07 07:31:24 2010 +0100
+++ b/res/layout/wizard_account_configure.xml	Sun Mar 07 21:33:13 2010 +0100
@@ -1,33 +1,39 @@
 <?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_height="fill_parent" android:layout_width="fill_parent"
-    >
-    <TextView android:id="@+id/wizard_account_tv"
-	android:layout_width="fill_parent" android:layout_height="wrap_content"
-	android:layout_alignParentTop="true"
-	android:text="@string/account_wizard_text1"
-	android:textSize="18sp"
-	android:paddingBottom="10dip" />
-
-    <TextView android:id="@+id/label_username"
-	android:layout_width="fill_parent" android:layout_height="wrap_content"
-	android:layout_below="@id/wizard_account_tv"
-	android:text="@string/JabberID" style="@style/Label" />
-    <EditText android:id="@+id/account_username"
-	android:inputType="textEmailAddress" android:imeOptions="actionNext"
-	android:layout_width="fill_parent" android:layout_height="wrap_content"
-	android:layout_below="@id/label_username"
-	android:singleLine="true" 
-	android:hint="beem@beem-project.com "/>
-    <TextView android:id="@+id/label_password"
-	android:layout_width="fill_parent" android:layout_height="wrap_content"
-	android:layout_below="@id/account_username"
-	android:text="@string/Password" style="@style/Label" />
-    <EditText android:id="@+id/account_password"
-	android:layout_width="fill_parent" android:layout_height="wrap_content"
-	android:layout_below="@id/label_password"
-	android:inputType="textPassword" android:imeOptions="actionNext"
-	android:password="true" android:singleLine="true" />
+    android:orientation="vertical" >
+    <ScrollView android:layout_height="fill_parent" android:layout_width="fill_parent" 
+	android:layout_weight="1">
+	<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent"
+	    android:orientation="vertical" >
+	    <ImageView android:id="@+id/logo"
+		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:layout_marginTop="15dp"
+		android:layout_marginBottom="30dp"
+		android:src="@drawable/logo"/>
+	    <TextView
+		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:layout_alignParentTop="true"
+		android:text="@string/account_wizard_configure_text"
+		android:textSize="18sp"
+		android:paddingBottom="10dip" />
+	    <TextView
+		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:text="@string/JabberID" style="@style/Label" />
+	    <EditText android:id="@+id/account_username"
+		android:inputType="textEmailAddress" android:imeOptions="actionNext"
+		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:singleLine="true" 
+		android:hint="beem@beem-project.com "/>
+	    <TextView
+		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:text="@string/Password" style="@style/Label" />
+	    <EditText android:id="@+id/account_password"
+		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:inputType="textPassword" android:imeOptions="actionNext"
+		android:password="true" android:singleLine="true" />
+	</LinearLayout>
+    </ScrollView>
 
     <RelativeLayout
 	android:layout_alignParentBottom="true"
@@ -59,4 +65,4 @@
 	    />
     </RelativeLayout>
 
-</RelativeLayout>
+</LinearLayout>