Interface 'finit' connection / configuration finit.
authormarseille@marseille-desktop
Sun, 15 Mar 2009 18:59:32 +0100
changeset 5 accfe4a4010f
parent 4 c36eb0599813
child 16 da30cff7f9ce
Interface 'finit' connection / configuration finit.
res/layout/main.xml
res/layout/settings.xml
res/menu/account.xml
src/com/beem/project/beem/Beem.java
src/com/beem/project/beem/SettingsDialog.java
--- a/res/layout/main.xml	Sat Mar 14 23:36:04 2009 +0100
+++ b/res/layout/main.xml	Sun Mar 15 18:59:32 2009 +0100
@@ -10,28 +10,27 @@
 		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"
+	<TextView android:text="Jabber ID"
+		android:textSize="25sp"
+		android:paddingLeft="100sp"
+		android:paddingTop="50sp"
+		android:paddingBottom="15sp"
+		android:layout_width="wrap_content"
+		android:layout_height="wrap_content" />
+		
+	<EditText android:id="@+id/jid"
+		android:singleLine="true"
 		android:layout_width="fill_parent"
 		android:layout_height="wrap_content"
-		android:password="true"
-		android:text="_password_" />
+		android:scrollHorizontally="true" />
+	
+	<TextView
+		android:layout_width="fill_parent"
+		android:layout_height="10sp"/>
 
-	<Button android:id="@+id/Connection"
+	<Button android:id="@+id/connection"
+		android:textSize="20sp"
+		android:singleLine="true"
 		android:layout_width="fill_parent"
 		android:layout_height="wrap_content"
 		android:text="Connection" />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/res/layout/settings.xml	Sun Mar 15 18:59:32 2009 +0100
@@ -0,0 +1,90 @@
+<?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="Host/Port:"
+                android:minWidth="70dp"
+                />
+                
+        <EditText android:id="@+id/host"
+                  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"/>
+        <EditText android:id="@+id/port"