diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-04 22:58:29 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-04 22:58:29 +0100 |
commit | 4670585e7a474d878c823df6de1846980b5c65d3 (patch) | |
tree | d106fa380bc342e78bbb288a95ce550c7bf68d7c /res | |
parent | c01f2cedb6ae599c2ddc4c52b5176ca07275283f (diff) |
reworked edit account dialog. advanced options are now gone. tls option available instead
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/edit_account_dialog.xml | 86 |
1 files changed, 12 insertions, 74 deletions
diff --git a/res/layout/edit_account_dialog.xml b/res/layout/edit_account_dialog.xml index 2d4de8af6..2b1f95ab5 100644 --- a/res/layout/edit_account_dialog.xml +++ b/res/layout/edit_account_dialog.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" @@ -12,15 +11,7 @@ android:textSize="14sp" android:text="Jabber ID:" /> - <EditText - android:id="@+id/account_username" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:ems="10" - android:inputType="textEmailAddress" - android:visibility="gone" - android:hint="Username"> - </EditText> + <EditText android:id="@+id/account_jid" @@ -51,7 +42,16 @@ android:hint="Password" android:fontFamily="sans-serif" /> - + + + <CheckBox + android:id="@+id/account_usetls" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Use Transport Layer Security (TLS)" + android:checked="true"/> + + <CheckBox android:id="@+id/edit_account_register_new" android:layout_width="wrap_content" @@ -78,66 +78,4 @@ android:visibility="gone" android:fontFamily="sans-serif" /> - <CheckBox - android:id="@+id/account_show_advanced" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="Show advanced options" /> - - <RelativeLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:id="@+id/advanced_options" - android:visibility="gone"> - - <LinearLayout - android:id="@+id/server_input_layout" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" > - - <TextView - android:paddingTop="8dp" - android:id="@+id/textView3" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="Server:" - android:textSize="14sp"/> - - <EditText - android:id="@+id/account_server" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:ems="10" - android:hint="Server" - android:inputType="textUri"/> - - </LinearLayout> - - <LinearLayout - android:layout_alignParentRight="true" - android:layout_width="144dp" - android:layout_height="wrap_content" - android:orientation="vertical" - android:layout_toRightOf="@+id/server_input_layout"> - - <TextView - android:paddingTop="8dp" - android:id="@+id/textView4" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="Port:" - android:textSize="14sp"/> - - <EditText - android:id="@+id/editText3" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:ems="10" - android:hint="Port" - android:inputType="number" - android:text="5222"/> - - </LinearLayout> - </RelativeLayout> </LinearLayout> |