edit_account_dialog.xml

 1<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 2    android:layout_width="match_parent"
 3    android:layout_height="match_parent"
 4    android:orientation="vertical"
 5    android:padding="8dp">
 6
 7    <TextView
 8        android:id="@+id/textView2"
 9        android:layout_width="wrap_content"
10        android:layout_height="wrap_content"
11        android:textSize="14sp"
12        android:text="Jabber ID:" />
13
14
15    
16   <EditText
17        android:id="@+id/account_jid"
18        android:layout_width="match_parent"
19        android:layout_height="wrap_content"
20        android:ems="10"
21        android:inputType="textEmailAddress"
22        android:hint="username@jabber.example.com">
23
24
25    </EditText>
26    
27       
28      <TextView
29        android:paddingTop="8dp"
30        android:id="@+id/textView1"
31        android:layout_width="wrap_content"
32        android:layout_height="wrap_content"
33        android:text="Password:"
34        android:textSize="14sp"/>
35
36    <EditText
37        android:id="@+id/account_password"
38        android:layout_width="match_parent"
39        android:layout_height="wrap_content"
40        android:ems="10"
41        android:inputType="textPassword"
42        android:hint="Password" 
43        android:fontFamily="sans-serif" />
44
45
46
47    <CheckBox
48        android:id="@+id/account_usetls"
49        android:layout_width="wrap_content"
50        android:layout_height="wrap_content"
51        android:text="Use Transport Layer Security (TLS)"
52        android:checked="true"/>
53
54    <CheckBox
55    	android:id="@+id/account_usecompression"
56	android:layout_width="wrap_content"
57	android:layout_height="wrap_content"
58	android:text="Use Compression (zlib)"
59	android:checked="true"/>
60      
61    <CheckBox
62        android:id="@+id/edit_account_register_new"
63        android:layout_width="wrap_content"
64        android:layout_height="wrap_content"
65        android:text="Register a new account on server"/>
66
67    
68        <TextView
69        android:paddingTop="8dp"
70        android:id="@+id/account_confirm_password_desc"
71        android:layout_width="wrap_content"
72        android:layout_height="wrap_content"
73        android:text="Confirm password:"
74        android:textSize="14sp"
75        android:visibility="gone"/>
76    
77    <EditText
78        android:id="@+id/account_password_confirm2"
79        android:layout_width="match_parent"
80        android:layout_height="wrap_content"
81        android:ems="10"
82        android:inputType="textPassword"
83        android:hint="Confirm password" 
84        android:visibility="gone"
85        android:fontFamily="sans-serif" />
86
87</LinearLayout>