|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 style="@style/SyncContainer" > |
|
8 |
|
9 <TextView |
|
10 style="@style/SyncTop" |
|
11 android:text="@string/sync_title_pair" /> |
|
12 |
|
13 <ScrollView |
|
14 style="@style/SyncMiddle" > |
|
15 |
|
16 <LinearLayout |
|
17 style="@style/SyncLayout.Vertical" |
|
18 android:gravity="center" > |
|
19 <TextView |
|
20 android:id="@+id/setup_subtitle" |
|
21 style="@style/SyncTextItem" |
|
22 android:text="@string/sync_subtitle_pair" /> |
|
23 |
|
24 <TextView |
|
25 style="@style/SyncLinkItem" |
|
26 android:paddingBottom="@dimen/SyncSpace" |
|
27 android:onClick="showClickHandler" |
|
28 android:text="@string/sync_link_show" /> |
|
29 |
|
30 <LinearLayout |
|
31 android:layout_width="wrap_content" |
|
32 android:layout_height="wrap_content" |
|
33 android:paddingBottom="@dimen/SyncSpace" |
|
34 android:gravity="center" |
|
35 android:orientation="vertical" > |
|
36 |
|
37 <EditText |
|
38 android:id="@+id/pair_row1" |
|
39 style="@style/SyncEditPin" |
|
40 android:state_focused="true" /> |
|
41 <EditText |
|
42 android:id="@+id/pair_row2" |
|
43 style="@style/SyncEditPin" /> |
|
44 <EditText |
|
45 android:id="@+id/pair_row3" |
|
46 style="@style/SyncEditPin" |
|
47 android:imeOptions="actionDone|flagNoExtractUi" /> |
|
48 </LinearLayout> |
|
49 |
|
50 <LinearLayout |
|
51 android:id="@+id/pair_error" |
|
52 android:layout_width="wrap_content" |
|
53 android:layout_height="wrap_content" |
|
54 android:paddingBottom="@dimen/SyncSpace" |
|
55 android:gravity="center" |
|
56 android:orientation="horizontal" |
|
57 android:visibility="invisible" > |
|
58 |
|
59 <TextView |
|
60 style="@style/SyncTextError" |
|
61 android:text="@string/sync_pair_tryagain" |
|
62 android:textSize="10dp" /> |
|
63 </LinearLayout> |
|
64 </LinearLayout> |
|
65 </ScrollView> |
|
66 |
|
67 <LinearLayout |
|
68 style="@style/SyncBottomContainer" > |
|
69 |
|
70 <LinearLayout |
|
71 style="@style/SyncBottom" |
|
72 android:orientation="horizontal" > |
|
73 |
|
74 <Button |
|
75 style="@style/SyncButton" |
|
76 android:onClick="cancelClickHandler" |
|
77 android:text="@string/sync_button_cancel" /> |
|
78 |
|
79 <Button |
|
80 android:id="@+id/pair_button_connect" |
|
81 style="@style/SyncButton" |
|
82 android:onClick="connectClickHandler" |
|
83 android:clickable="false" |
|
84 android:enabled="false" |
|
85 android:text="@string/sync_button_connect" /> |
|
86 </LinearLayout> |
|
87 |
|
88 </LinearLayout> |
|
89 </LinearLayout> |