res/layout/accountcreation.xml
changeset 190 079488da1bfc
parent 122 619465682697
--- a/res/layout/accountcreation.xml	Sun May 17 17:31:39 2009 +0200
+++ b/res/layout/accountcreation.xml	Sun May 17 23:33:13 2009 +0200
@@ -1,103 +1,55 @@
 <?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 xmlns:android="http://schemas.android.com/apk/res/android"
-                  android:orientation="horizontal"
-                  android:layout_width="fill_parent"
-                  android:layout_height="wrap_content"
-            >
-        <TextView
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="Login:"
-                android:minWidth="70dp"
-                />
-                
-        <EditText android:id="@+id/login"
-                  android:layout_width="wrap_content"
-                  android:layout_height="wrap_content"
-                  android:singleLine="true"
-                  android:textSize="16sp"
-                  android:autoText="false"
-                  android:capitalize="none"
-                  android:minWidth="150dp"
-                  android:scrollHorizontally="true"/>
-    </LinearLayout>
+	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">
+		<TextView android:layout_width="wrap_content"
+			android:layout_height="wrap_content" android:text="@string/ACLogin"
+			android:minWidth="70dp" />
+
+		<EditText android:id="@+id/ac_login" android:layout_width="wrap_content"
+			android:layout_height="wrap_content" android:singleLine="true"
+			android:textSize="16sp" android:autoText="false" android:capitalize="none"
+			android:minWidth="150dp" android:scrollHorizontally="true" />
+	</LinearLayout>
 
-    <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:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="Email:"
-                android:minWidth="70dp"
-                />
-        <EditText android:id="@+id/email"
-                  android:layout_width="wrap_content"
-                  android:layout_height="wrap_content"
-                  android:singleLine="true"
-                  android:textSize="16sp"
-                  android:autoText="false"
-                  android:minWidth="250dp"
-                  android:capitalize="none"
-                  android:scrollHorizontally="true"/>
-    </LinearLayout>
-    <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:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="Password:"
-                android:minWidth="70dp"
-                />
-        <EditText android:id="@+id/password"
-                  android:layout_width="wrap_content"
-                  android:layout_height="wrap_content"
-                  android:singleLine="true"
-                  android:password="true"
-                  android:textSize="16sp"
-                  android:autoText="false"
-                  android:minWidth="250dp"
-                  android:capitalize="none"
-                  android:scrollHorizontally="true"/>
-    </LinearLayout>
-    <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:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:text="Repeat:"
-                android:minWidth="70dp"
-                />
-        <EditText android:id="@+id/password2"
-                  android:layout_width="wrap_content"
-                  android:layout_height="wrap_content"
-                  android:singleLine="true"
-                  android:password="true"
-                  android:textSize="16sp"
-                  android:autoText="false"
-                  android:minWidth="250dp"
-                  android:capitalize="none"
-                  android:scrollHorizontally="true"/>
-    </LinearLayout>
+	<LinearLayout android:orientation="horizontal"
+		android:layout_width="fill_parent" android:layout_height="wrap_content">
+		<TextView android:layout_width="wrap_content"
+			android:layout_height="wrap_content" android:text="@string/ACEmail"
+			android:minWidth="70dp" />
+		<EditText android:id="@+id/ac_email" android:layout_width="wrap_content"
+			android:layout_height="wrap_content" android:singleLine="true"
+			android:textSize="16sp" android:autoText="false" android:minWidth="250dp"
+			android:capitalize="none" android:scrollHorizontally="true" />
+	</LinearLayout>
+	<LinearLayout android:orientation="horizontal"
+		android:layout_width="fill_parent" android:layout_height="wrap_content">
+		<TextView android:layout_width="wrap_content"
+			android:layout_height="wrap_content" android:text="@string/ACPassword"
+			android:minWidth="70dp" />
+		<EditText android:id="@+id/ac_password" android:layout_width="wrap_content"
+			android:layout_height="wrap_content" android:singleLine="true"
+			android:password="true" android:textSize="16sp" android:autoText="false"
+			android:minWidth="250dp" android:capitalize="none"
+			android:scrollHorizontally="true" />
+	</LinearLayout>
+	<LinearLayout android:orientation="horizontal"
+		android:layout_width="fill_parent" android:layout_height="wrap_content">
+		<TextView android:layout_width="wrap_content"
+			android:layout_height="wrap_content" android:text="@string/ACRepeat"
+			android:minWidth="70dp" />
+		<EditText android:id="@+id/ac_password2"
+			android:layout_width="wrap_content" android:layout_height="wrap_content"
+			android:singleLine="true" android:password="true" android:textSize="16sp"
+			android:autoText="false" android:minWidth="250dp" android:capitalize="none"
+			android:scrollHorizontally="true" />
+	</LinearLayout>
 
-    <Button android:id="@+id/ok"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_alignParentRight="true"
-            android:text="OK">
-        <requestFocus/>
-    </Button>
+	<Button android:id="@+id/ac_ok" android:layout_width="fill_parent"
+		android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
+		android:text="@string/ACOkButton">
+		<requestFocus />
+	</Button>
 </LinearLayout>
\ No newline at end of file