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      
55    <CheckBox
56        android:id="@+id/edit_account_register_new"
57        android:layout_width="wrap_content"
58        android:layout_height="wrap_content"
59        android:text="Register a new account on server"/>
60
61    
62        <TextView
63        android:paddingTop="8dp"
64        android:id="@+id/account_confirm_password_desc"
65        android:layout_width="wrap_content"
66        android:layout_height="wrap_content"
67        android:text="Confirm password:"
68        android:textSize="14sp"
69        android:visibility="gone"/>
70    
71    <EditText
72        android:id="@+id/account_password_confirm2"
73        android:layout_width="match_parent"
74        android:layout_height="wrap_content"
75        android:ems="10"
76        android:inputType="textPassword"
77        android:hint="Confirm password" 
78        android:visibility="gone"
79        android:fontFamily="sans-serif" />
80
81</LinearLayout>