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