OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- | |
3 Copyright 2011 The Chromium Authors. All rights reserved. | |
newt (away)
2015/03/04 03:47:08
2015
aurimas (slooooooooow)
2015/03/10 22:16:51
Done
| |
4 | |
5 Use of this source code is governed by a BSD-style license that can be | |
6 found in the LICENSE file. | |
7 --> | |
8 <org.chromium.chrome.browser.firstrun.TosAndUmaView | |
9 xmlns:android="http://schemas.android.com/apk/res/android" | |
10 android:layout_width="match_parent" | |
11 android:layout_height="match_parent" > | |
12 | |
13 <ScrollView | |
14 android:layout_width="match_parent" | |
15 android:layout_height="match_parent" | |
16 android:layout_marginBottom="57dp" | |
17 android:fillViewport="true" | |
18 android:scrollbarStyle="outsideOverlay" > | |
19 | |
20 <LinearLayout | |
21 android:layout_width="match_parent" | |
22 android:layout_height="wrap_content" | |
23 android:gravity="center" | |
24 android:orientation="vertical" > | |
25 | |
26 <TextView | |
27 android:layout_width="wrap_content" | |
28 android:layout_height="wrap_content" | |
29 android:layout_marginTop="@dimen/fre_margin" | |
30 android:gravity="center" | |
31 android:lineSpacingMultiplier="1.4" | |
32 android:text="@string/fre_welcome" | |
33 android:textColor="@color/fre_title_color" | |
34 android:textSize="@dimen/fre_title_text_size" /> | |
35 | |
36 <LinearLayout | |
37 android:id="@+id/fre_content" | |
38 android:layout_width="match_parent" | |
39 android:layout_height="wrap_content" | |
40 android:layout_marginTop="@dimen/fre_margin" | |
41 android:gravity="center_horizontal"> | |
42 | |
43 <ImageView | |
44 android:layout_width="wrap_content" | |
45 android:layout_height="@dimen/fre_image_carousel_height" | |
46 android:layout_marginBottom="@dimen/fre_margin" | |
47 android:contentDescription="@null" | |
48 android:src="@drawable/fre_chrome_logo" /> | |
49 | |
50 <LinearLayout | |
51 android:id="@+id/text_wrapper" | |
52 android:layout_width="0dp" | |
53 android:layout_height="0dp" | |
54 android:layout_weight="1" | |
55 android:layout_marginBottom="@dimen/fre_margin" | |
56 android:orientation="vertical" | |
57 android:paddingEnd="@dimen/fre_margin" | |
58 android:paddingStart="@dimen/fre_margin" > | |
59 | |
60 <org.chromium.ui.widget.TextViewWithClickableSpans | |
61 android:id="@+id/tos_and_privacy" | |
62 android:layout_width="wrap_content" | |
63 android:layout_height="wrap_content" | |
64 android:layout_marginBottom="@dimen/fre_margin" | |
65 android:gravity="center" | |
66 android:lineSpacingMultiplier="1.4" | |
67 android:textColor="@color/fre_text_color" | |
68 android:textSize="@dimen/fre_normal_text_size" /> | |
69 | |
70 <CheckBox | |
71 android:id="@+id/send_report_checkbox" | |
72 android:layout_width="wrap_content" | |
73 android:layout_height="wrap_content" | |
74 android:lineSpacingMultiplier="1.4" | |
75 android:text="@string/fre_send_report_check" | |
76 android:textColor="@color/fre_text_color" | |
77 android:textSize="@dimen/fre_normal_text_size" /> | |
78 </LinearLayout> | |
79 </LinearLayout> | |
80 </LinearLayout> | |
81 </ScrollView> | |
82 | |
83 <View | |
84 style="@style/ButtonBarTopDivider" | |
85 android:layout_gravity="bottom" | |
86 android:layout_marginBottom="56dp" /> | |
87 | |
88 <Button | |
89 android:id="@+id/terms_accept" | |
90 android:layout_width="match_parent" | |
91 android:layout_height="56dp" | |
92 android:layout_gravity="bottom" | |
93 android:background="?attr/listChoiceBackgroundIndicator" | |
94 android:padding="16dp" | |
95 android:text="@string/fre_accept_continue" | |
96 android:textAllCaps="true" | |
97 android:textColor="@color/light_active_color" | |
98 android:textSize="@dimen/fre_button_text_size" /> | |
99 | |
100 </org.chromium.chrome.browser.firstrun.TosAndUmaView> | |
OLD | NEW |