author | Da Risk <da_risk@beem-project.com> |
Sun, 13 Jan 2013 20:36:11 +0100 | |
changeset 1016 | c337d8c387f5 |
parent 1009 | c76a6e4b37cf |
child 1022 | 16040c6df950 |
permissions | -rw-r--r-- |
212 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
506
8e33a89c21a3
Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents:
489
diff
changeset
|
3 |
android:layout_width="fill_parent" android:layout_height="fill_parent" |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
4 |
android:orientation="vertical" > |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
5 |
|
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
6 |
<ScrollView android:layout_width="fill_parent" android:layout_height="0dip" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
7 |
android:layout_weight="1" > |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
8 |
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
9 |
android:orientation="vertical" > |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
10 |
<ImageView android:id="@+id/logo" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
11 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
12 |
android:layout_marginTop="15dp" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
13 |
android:layout_marginBottom="30dp" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
14 |
android:src="@drawable/logo"/> |
995
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
15 |
|
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
16 |
<TextView |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
17 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
18 |
android:text="@string/create_account_text" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
19 |
android:textSize="18sp" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
20 |
android:paddingBottom="10dip" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
21 |
android:focusable="true" /> |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
22 |
<TextView |
256 | 23 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
24 |
android:text="@string/create_account_username" style="@style/Label" /> |
|
995
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
25 |
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
26 |
android:orientation="horizontal"> |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
27 |
<EditText android:id="@+id/create_account_username" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
28 |
android:inputType="textEmailAddress" android:imeOptions="actionNext" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
29 |
android:layout_width="wrap_content" android:layout_height="wrap_content" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
30 |
android:singleLine="true" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
31 |
android:minWidth="120dp" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
32 |
android:hint="beem" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
33 |
android:contentDescription="@string/create_account_username"/> |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
34 |
<TextView |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
35 |
android:layout_width="wrap_content" android:layout_height="wrap_content" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
36 |
android:text=" @ " style="@style/Label" /> |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
37 |
<AutoCompleteTextView android:id="@+id/xmpp_server" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
38 |
android:layout_width="wrap_content" android:layout_height="wrap_content" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
39 |
android:minWidth="160dp" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
40 |
android:gravity="left" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
41 |
android:hint="beem-project.com" |
996
476e8690b0ea
Translate more strings for wizard and make error message multilines
Da Risk <da_risk@beem-project.com>
parents:
995
diff
changeset
|
42 |
android:completionThreshold="1" |
995
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
43 |
android:inputType="textNoSuggestions" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
44 |
style="?android:attr/dropDownSpinnerStyle"/> |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
45 |
</LinearLayout> |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
46 |
<TextView |
256 | 47 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
48 |
android:text="@string/create_account_password" style="@style/Label" /> |
|
212 | 49 |
<EditText android:id="@+id/create_account_password" |
256 | 50 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
489
77c573c8217e
some improvements about input methods
Da Risk <darisk972@gmail.com>
parents:
256
diff
changeset
|
51 |
android:inputType="textPassword" android:imeOptions="actionNext" |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
52 |
android:singleLine="true" |
767
74a987c3efb5
Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents:
506
diff
changeset
|
53 |
android:contentDescription="@string/create_account_password"/> |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
54 |
<TextView |
256 | 55 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
56 |
android:text="@string/create_account_confirm_password" style="@style/Label" /> |
|
212 | 57 |
<EditText android:id="@+id/create_account_confirm_password" |
256 | 58 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
489
77c573c8217e
some improvements about input methods
Da Risk <darisk972@gmail.com>
parents:
256
diff
changeset
|
59 |
android:inputType="textPassword" android:imeOptions="actionNext" |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
60 |
android:singleLine="true" |
767
74a987c3efb5
Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents:
506
diff
changeset
|
61 |
android:contentDescription="@string/create_account_confirm_password"/> |
1009
c76a6e4b37cf
Use proxy and/or specific server settings in account wizard
Da Risk <da_risk@beem-project.com>
parents:
996
diff
changeset
|
62 |
<TextView android:id="@+id/settings_warn_label" style="@style/Label" |
c76a6e4b37cf
Use proxy and/or specific server settings in account wizard
Da Risk <da_risk@beem-project.com>
parents:
996
diff
changeset
|
63 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
c76a6e4b37cf
Use proxy and/or specific server settings in account wizard
Da Risk <da_risk@beem-project.com>
parents:
996
diff
changeset
|
64 |
android:text="@string/account_wizard_settings_warn" |
c76a6e4b37cf
Use proxy and/or specific server settings in account wizard
Da Risk <da_risk@beem-project.com>
parents:
996
diff
changeset
|
65 |
android:inputType="textMultiLine|textNoSuggestions" |
c76a6e4b37cf
Use proxy and/or specific server settings in account wizard
Da Risk <da_risk@beem-project.com>
parents:
996
diff
changeset
|
66 |
android:textColor="@color/white" |
c76a6e4b37cf
Use proxy and/or specific server settings in account wizard
Da Risk <da_risk@beem-project.com>
parents:
996
diff
changeset
|
67 |
android:textStyle="normal" |
c76a6e4b37cf
Use proxy and/or specific server settings in account wizard
Da Risk <da_risk@beem-project.com>
parents:
996
diff
changeset
|
68 |
android:visibility="gone" /> |
995
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
69 |
<TextView android:id="@+id/error_label" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
70 |
android:layout_width="fill_parent" android:layout_height="wrap_content" |
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
71 |
android:textColor="@color/red" android:textStyle="bold" |
996
476e8690b0ea
Translate more strings for wizard and make error message multilines
Da Risk <da_risk@beem-project.com>
parents:
995
diff
changeset
|
72 |
android:inputType="textMultiLine" |
995
6318bee856fd
Display error messages when account creation failed.
Da Risk <da_risk@beem-project.com>
parents:
986
diff
changeset
|
73 |
style="@style/Label"/> |
212 | 74 |
</LinearLayout> |
986
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
75 |
</ScrollView> |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
76 |
|
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
77 |
<RelativeLayout |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
78 |
android:gravity="right|center_vertical" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
79 |
android:layout_height="wrap_content" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
80 |
android:layout_width="fill_parent" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
81 |
android:background="@drawable/bottombar" > |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
82 |
<Button |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
83 |
android:id="@+id/next" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
84 |
android:text="@string/Continue" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
85 |
android:minWidth="100dp" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
86 |
android:layout_height="wrap_content" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
87 |
android:layout_width="wrap_content" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
88 |
android:drawableRight="@drawable/button_indicator_next" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
89 |
android:layout_alignParentRight="true" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
90 |
android:layout_centerVertical="true" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
91 |
android:enabled="false" |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
92 |
/> |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
93 |
</RelativeLayout> |
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
94 |
|
2c85a0f62ab0
Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents:
952
diff
changeset
|
95 |
</LinearLayout> |