|
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_connect" /> |
|
12 |
|
13 <ScrollView |
|
14 style="@style/SyncMiddle" |
|
15 android:padding="@dimen/SyncSpace" > |
|
16 |
|
17 <LinearLayout |
|
18 style="@style/SyncLayout.Vertical" > |
|
19 |
|
20 <TextView |
|
21 android:id="@+id/setup_header" |
|
22 style="@style/SyncTextItem" |
|
23 android:gravity="left" |
|
24 android:paddingBottom="@dimen/SyncSpace" |
|
25 android:text="@string/sync_subtitle_header" |
|
26 android:textStyle="bold" |
|
27 android:focusable="true" |
|
28 android:nextFocusDown="@+id/setup_subtitle" /> |
|
29 |
|
30 <TextView |
|
31 android:id="@id/setup_subtitle" |
|
32 style="@style/SyncTextItem" |
|
33 android:gravity="left" |
|
34 android:text="@string/sync_subtitle_connect" |
|
35 android:focusable="true" |
|
36 android:nextFocusDown="@+id/setup_showme" |
|
37 android:nextFocusUp="@id/setup_header" /> |
|
38 |
|
39 <TextView |
|
40 android:id="@id/setup_showme" |
|
41 style="@style/SyncLinkItem" |
|
42 android:paddingBottom="@dimen/SyncSpace" |
|
43 android:onClick="showClickHandler" |
|
44 android:text="@string/sync_link_show" |
|
45 android:focusable="true" |
|
46 android:nextFocusDown="@+id/text_pin1" |
|
47 android:nextFocusUp="@id/setup_subtitle" /> |
|
48 |
|
49 <LinearLayout |
|
50 style="@style/SyncLayout" |
|
51 android:layout_height="wrap_content" |
|
52 android:paddingBottom="@dimen/SyncSpace" |
|
53 android:orientation="vertical" > |
|
54 <TextView |
|
55 android:id="@id/text_pin1" |
|
56 style="@style/SyncPinText" |
|
57 android:focusable="true" |
|
58 android:nextFocusDown="@+id/text_pin2" |
|
59 android:nextFocusUp="@id/setup_showme" /> |
|
60 <TextView |
|
61 android:id="@id/text_pin2" |
|
62 style="@style/SyncPinText" |
|
63 android:focusable="true" |
|
64 android:nextFocusDown="@+id/text_pin3" |
|
65 android:nextFocusUp="@id/text_pin1" /> |
|
66 <TextView |
|
67 android:id="@id/text_pin3" |
|
68 style="@style/SyncPinText" |
|
69 android:focusable="true" |
|
70 android:nextFocusDown="@+id/link_nodevice" |
|
71 android:nextFocusUp="@id/text_pin2" /> |
|
72 </LinearLayout> |
|
73 <TextView |
|
74 android:id="@id/link_nodevice" |
|
75 style="@style/SyncLinkItem" |
|
76 android:gravity="center" |
|
77 android:onClick="manualClickHandler" |
|
78 android:text="@string/sync_link_advancedsetup" |
|
79 android:focusable="true" |
|
80 android:nextFocusUp="@id/text_pin3" /> |
|
81 </LinearLayout> |
|
82 </ScrollView> |
|
83 |
|
84 <LinearLayout |
|
85 style="@style/SyncBottomContainer" > |
|
86 |
|
87 <LinearLayout |
|
88 style="@style/SyncBottom" |
|
89 android:orientation="horizontal" > |
|
90 |
|
91 <Button |
|
92 style="@style/SyncButton" |
|
93 android:onClick="cancelClickHandler" |
|
94 android:text="@string/sync_button_cancel" /> |
|
95 </LinearLayout> |
|
96 |
|
97 </LinearLayout> |
|
98 </LinearLayout> |