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