|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 android:layout_width="fill_parent" android:layout_height="fill_parent" |
|
4 android:orientation="vertical" > |
|
5 |
|
6 <ScrollView android:layout_width="fill_parent" android:layout_height="0dip" |
|
7 android:layout_weight="1" > |
|
8 <LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" |
|
9 android:orientation="vertical" > |
|
10 <ImageView android:id="@+id/logo" |
|
11 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
12 android:layout_marginTop="15dp" |
|
13 android:layout_marginBottom="30dp" |
|
14 android:src="@drawable/logo"/> |
|
15 |
|
16 <TextView |
|
17 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
18 android:text="@string/create_account_text" |
|
19 android:textSize="18sp" |
|
20 android:paddingBottom="10dip" |
|
21 android:focusable="true" /> |
|
22 <TextView |
|
23 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
24 android:text="@string/create_account_username" style="@style/Label" /> |
|
25 <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
26 android:orientation="horizontal"> |
|
27 <EditText android:id="@+id/create_account_username" |
|
28 android:inputType="textEmailAddress" android:imeOptions="actionNext" |
|
29 android:layout_width="wrap_content" android:layout_height="wrap_content" |
|
30 android:singleLine="true" |
|
31 android:minWidth="120dp" |
|
32 android:hint="beem" |
|
33 android:contentDescription="@string/create_account_username"/> |
|
34 <TextView |
|
35 android:layout_width="wrap_content" android:layout_height="wrap_content" |
|
36 android:text=" @ " style="@style/Label" /> |
|
37 <AutoCompleteTextView android:id="@+id/xmpp_server" |
|
38 android:layout_width="wrap_content" android:layout_height="wrap_content" |
|
39 android:minWidth="160dp" |
|
40 android:gravity="left" |
|
41 android:hint="beem-project.com" |
|
42 android:completionThreshold="1" |
|
43 android:inputType="textNoSuggestions" |
|
44 style="?android:attr/dropDownSpinnerStyle"/> |
|
45 </LinearLayout> |
|
46 <TextView |
|
47 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
48 android:text="@string/create_account_password" style="@style/Label" /> |
|
49 <EditText android:id="@+id/create_account_password" |
|
50 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
51 android:inputType="textPassword" android:imeOptions="actionNext" |
|
52 android:singleLine="true" |
|
53 android:contentDescription="@string/create_account_password"/> |
|
54 <TextView |
|
55 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
56 android:text="@string/create_account_confirm_password" style="@style/Label" /> |
|
57 <EditText android:id="@+id/create_account_confirm_password" |
|
58 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
59 android:inputType="textPassword" android:imeOptions="actionNext" |
|
60 android:singleLine="true" |
|
61 android:contentDescription="@string/create_account_confirm_password"/> |
|
62 <TextView android:id="@+id/settings_warn_label" style="@style/Label" |
|
63 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
64 android:text="@string/account_wizard_settings_warn" |
|
65 android:inputType="textMultiLine|textNoSuggestions" |
|
66 android:textColor="@color/white" |
|
67 android:textStyle="normal" |
|
68 android:visibility="gone" /> |
|
69 <TextView android:id="@+id/error_label" |
|
70 android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
71 android:textColor="@color/red" android:textStyle="bold" |
|
72 android:inputType="textMultiLine" |
|
73 style="@style/Label"/> |
|
74 </LinearLayout> |
|
75 </ScrollView> |
|
76 |
|
77 <RelativeLayout |
|
78 android:gravity="right|center_vertical" |
|
79 android:layout_height="wrap_content" |
|
80 android:layout_width="fill_parent" |
|
81 android:background="@drawable/bottombar" > |
|
82 <Button |
|
83 android:id="@+id/next" |
|
84 android:text="@string/Continue" |
|
85 android:minWidth="100dp" |
|
86 android:layout_height="wrap_content" |
|
87 android:layout_width="wrap_content" |
|
88 android:drawableRight="@drawable/button_indicator_next" |
|
89 android:layout_alignParentRight="true" |
|
90 android:layout_centerVertical="true" |
|
91 android:enabled="false" |
|
92 /> |
|
93 </RelativeLayout> |
|
94 |
|
95 </LinearLayout> |