--- a/res/layout/addcontact.xml Sun May 17 17:31:39 2009 +0200
+++ b/res/layout/addcontact.xml Sun May 17 23:33:13 2009 +0200
@@ -1,79 +1,45 @@
<?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/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="250dp"
- 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/AddCLogin"
+ android:minWidth="70dp" />
+
+ <EditText android:id="@+id/addc_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="250dp" 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="Alias:"
- android:minWidth="70dp"
- />
- <EditText android:id="@+id/AC_alias"
- 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="Group:"
- android:minWidth="70dp"
- />
- <EditText android:id="@+id/AC_group"
- 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>
- <Button android:id="@+id/AC_ok"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:text="OK">
- <requestFocus/>
- </Button>
+ <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/AddCAlias"
+ android:minWidth="70dp" />
+ <EditText android:id="@+id/addc_alias" 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/AddCGroup"
+ android:minWidth="70dp" />
+ <EditText android:id="@+id/addc_group" 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>
+ <Button android:id="@+id/addc_ok" android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:layout_gravity="center_horizontal"
+ android:text="@string/AddCOkButton">
+ <requestFocus />
+ </Button>
</LinearLayout>
\ No newline at end of file