--- a/res/layout/contactlistsettings.xml Wed May 20 23:26:07 2009 +0200
+++ b/res/layout/contactlistsettings.xml Thu May 21 15:41:11 2009 +0200
@@ -8,9 +8,8 @@
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:text="@string/CLSServerConnection"
android:textSize="18sp" />
- <LinearLayout
- android:orientation="horizontal" android:layout_width="fill_parent"
- android:layout_height="wrap_content">
+ <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/CLSUserid"
android:minWidth="90dp" android:textSize="14sp" />
@@ -20,33 +19,8 @@
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/CLSPassword"
- android:minWidth="90dp" android:textSize="14sp" />
- <EditText android:id="@+id/password" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:singleLine="true"
- android:password="true" android:textSize="14sp" android:autoText="false"
- 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/CLSService"
- android:minWidth="90dp" android:textSize="14sp" />
- <EditText android:id="@+id/service" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:singleLine="true"
- android:textSize="14sp" android:autoText="false" android:capitalize="none"
- android:scrollHorizontally="true" />
- </LinearLayout>
-
- <LinearLayout
- android:orientation="horizontal" android:layout_width="fill_parent"
- android:layout_height="wrap_content">
+ <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/CLSHostPort"
android:minWidth="90dp" android:textSize="14sp" />
@@ -60,6 +34,17 @@
android:layout_weight="3" 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/CLSPassword"
+ android:minWidth="90dp" android:textSize="14sp" />
+ <EditText android:id="@+id/password" android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:singleLine="true"
+ android:password="true" android:textSize="14sp" android:autoText="false"
+ android:capitalize="none" android:scrollHorizontally="true" />
+ </LinearLayout>
+
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:text=""
android:textSize="18sp" />
@@ -92,9 +77,8 @@
android:scrollHorizontally="true" />
</LinearLayout>
- <LinearLayout
- android:orientation="horizontal" android:layout_width="fill_parent"
- android:layout_height="wrap_content">
+ <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/CLSLogin"
android:minWidth="90dp" android:textSize="14sp" />
@@ -104,9 +88,8 @@
android:capitalize="none" android:scrollHorizontally="true" />
</LinearLayout>
- <LinearLayout
- android:orientation="horizontal" android:layout_width="fill_parent"
- android:layout_height="wrap_content">
+ <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/CLSPassword"
android:minWidth="90dp" android:textSize="14sp" />
--- a/src/com/beem/project/beem/ui/ContactListSettings.java Wed May 20 23:26:07 2009 +0200
+++ b/src/com/beem/project/beem/ui/ContactListSettings.java Thu May 21 15:41:11 2009 +0200
@@ -104,10 +104,6 @@
editor.putString(getString(R.string.PreferencePasswordKey), getWidgetText(R.id.password));
mIsChanged = true;
}
- if (isChanged(R.id.service, R.string.PreferenceService)) {
- editor.putString(getString(R.string.PreferenceService), getWidgetText(R.id.service));
- mIsChanged = true;
- }
if (isChanged(R.id.proxy_host, R.string.PreferenceProxyHost)) {
editor.putString(getString(R.string.PreferenceProxyHost), getWidgetText(R.id.proxy_host));
@@ -149,8 +145,6 @@
e.setText(getPreferenceString(R.string.PreferenceLoginKey));
e = (EditText) findViewById(R.id.password);
e.setText(getPreferenceString(R.string.PreferencePasswordKey));
- e = (EditText) findViewById(R.id.service);
- e.setText(getPreferenceString(R.string.PreferenceService));
e = (EditText) findViewById(R.id.proxy_host);
e.setText(getPreferenceString(R.string.PreferenceProxyHost));