1<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:background="?attr/color_background_primary">
6
7 <ScrollView
8 android:layout_width="fill_parent"
9 android:layout_height="fill_parent"
10 android:layout_above="@+id/button_bar">
11
12 <LinearLayout
13 android:layout_width="match_parent"
14 android:layout_height="match_parent"
15 android:orientation="vertical"
16 android:layout_marginLeft="@dimen/activity_horizontal_margin"
17 android:layout_marginRight="@dimen/activity_horizontal_margin"
18 android:layout_marginTop="@dimen/activity_vertical_margin"
19 android:layout_marginBottom="@dimen/activity_vertical_margin">
20
21 <TextView
22 android:id="@+id/verification_explanation"
23 android:layout_width="wrap_content"
24 android:layout_height="wrap_content"/>
25
26 <LinearLayout
27 android:id="@+id/manual_verification_area"
28 android:layout_width="fill_parent"
29 android:layout_height="wrap_content"
30 android:layout_marginTop="16dp"
31 android:orientation="vertical">
32
33 <TextView
34 android:id="@+id/your_fingerprint"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:textColor="?attr/color_text_primary"
38 android:textSize="?attr/TextSizeBody"
39 android:typeface="monospace"
40 android:fontFamily="monospace"/>
41
42 <TextView
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:text="@string/your_fingerprint"
46 android:textColor="?attr/color_text_secondary"
47 android:textSize="?attr/TextSizeInfo"/>
48
49 <TextView
50 android:id="@+id/remote_fingerprint"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_marginTop="20dp"
54 android:textColor="?attr/color_text_primary"
55 android:textSize="?attr/TextSizeBody"
56 android:typeface="monospace"
57 android:fontFamily="monospace"/>
58
59 <TextView
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:layout_marginBottom="20dp"
63 android:text="@string/remote_fingerprint"
64 android:textColor="?attr/color_text_secondary"
65 android:textSize="?attr/TextSizeInfo"/>
66
67 </LinearLayout>
68
69 <LinearLayout
70 android:id="@+id/smp_verification_area"
71 android:layout_width="fill_parent"
72 android:layout_height="fill_parent"
73 android:layout_marginTop="16dp"
74 android:orientation="vertical">
75
76 <TextView
77 android:id="@+id/status_message"
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:layout_gravity="center_horizontal"
81 android:text="@string/verified"
82 android:textColor="?attr/color_text_primary"
83 android:textSize="?attr/TextSizeHeadline"
84 android:textStyle="bold"
85 android:visibility="gone"/>
86
87 <TextView
88 android:id="@+id/shared_secret_hint"
89 android:layout_width="wrap_content"
90 android:layout_height="wrap_content"
91 android:layout_marginBottom="8dp"
92 android:textColor="?attr/color_text_primary"
93 android:textSize="?attr/TextSizeBody"
94 android:textStyle="bold"
95 android:visibility="gone"/>
96
97 <EditText
98 android:id="@+id/shared_secret_hint_editable"
99 android:layout_width="match_parent"
100 android:layout_height="wrap_content"
101 android:layout_marginBottom="8dp"
102 android:hint="@string/shared_secret_hint"
103 android:inputType="textAutoComplete"
104 android:textColor="?attr/color_text_primary"
105 android:textColorHint="?attr/color_text_secondary"
106 android:textSize="?attr/TextSizeBody"/>
107
108 <EditText
109 android:id="@+id/shared_secret_secret"
110 android:layout_width="match_parent"
111 android:layout_height="wrap_content"
112 android:layout_marginTop="8dp"
113 android:hint="@string/shared_secret_secret"
114 android:inputType="textPassword"
115 android:textColor="?attr/color_text_primary"
116 android:textColorHint="?attr/color_text_secondary"
117 android:textSize="?attr/TextSizeBody"/>
118 </LinearLayout>
119 </LinearLayout>
120 </ScrollView>
121
122 <LinearLayout
123 android:id="@+id/button_bar"
124 android:layout_width="wrap_content"
125 android:layout_height="wrap_content"
126 android:layout_alignParentBottom="true"
127 android:layout_alignParentLeft="true"
128 android:layout_alignParentRight="true">
129
130 <Button
131 android:id="@+id/left_button"
132 style="?android:attr/borderlessButtonStyle"
133 android:layout_width="0dp"
134 android:layout_height="wrap_content"
135 android:layout_weight="1"/>
136
137 <View
138 android:layout_width="1dp"
139 android:layout_height="fill_parent"
140 android:layout_marginBottom="7dp"
141 android:layout_marginTop="7dp"
142 android:background="?attr/divider"/>
143
144 <Button
145 android:id="@+id/right_button"
146 style="?android:attr/borderlessButtonStyle"
147 android:layout_width="0dp"
148 android:layout_height="wrap_content"
149 android:layout_weight="1"/>
150 </LinearLayout>
151
152</RelativeLayout>