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.
7 <org.chromium.chrome.browser.firstrun.AccountFirstRunView
8 xmlns:android="http://schemas.android.com/apk/res/android"
9 android:id="@+id/fre_account_layout"
10 android:layout_width="match_parent"
11 android:layout_height="match_parent" >
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" >
21 android:id="@+id/fre_account_linear_layout"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:gravity="center"
25 android:orientation="vertical" >
28 android:id="@+id/title"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:layout_marginTop="@dimen/fre_margin"
32 android:gravity="center"
33 android:lineSpacingMultiplier="1.4"
34 android:text="@string/fre_set_up_chrome"
35 android:textColor="@color/fre_title_color"
36 android:textSize="@dimen/fre_title_text_size" />
39 android:id="@+id/fre_content"
40 android:layout_width="match_parent"
41 android:layout_height="wrap_content"
42 android:layout_marginTop="@dimen/fre_margin"
43 android:gravity="center_horizontal"
44 android:orientation="vertical" >
46 <org.chromium.chrome.browser.firstrun.ImageCarousel
47 android:id="@+id/image_slider"
48 android:layout_width="@dimen/fre_image_carousel_width"
49 android:layout_height="@dimen/fre_image_carousel_height"
50 android:layout_marginBottom="@dimen/fre_margin"/>
53 android:layout_width="match_parent"
54 android:layout_height="wrap_content"
55 android:layout_marginBottom="@dimen/fre_margin"
56 android:orientation="vertical"
57 android:gravity="center_horizontal"
58 android:paddingEnd="24dp"
59 android:paddingStart="24dp" >
62 android:id="@+id/google_accounts_spinner"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_marginBottom="@dimen/fre_margin"
67 android:contentDescription="@string/accessibility_fre_account_spinner"
68 android:textColor="@color/fre_text_color" />
71 android:id="@+id/description"
72 android:layout_width="match_parent"
73 android:layout_height="wrap_content"
74 android:gravity="center"
75 android:lineSpacingMultiplier="1.4"
76 android:text="@string/fre_account_choice_description"
77 android:textColor="@color/fre_light_text_color"
78 android:textSize="@dimen/fre_normal_text_size" />
84 <View android:id="@+id/button_bar_separator"
85 style="@style/ButtonBarTopDivider"
86 android:layout_gravity="bottom"
87 android:layout_marginBottom="56dp" />
90 android:id="@+id/button_bar"
91 android:layout_width="match_parent"
92 android:layout_height="56dp"
93 android:layout_gravity="bottom"
94 android:orientation="horizontal" >
96 <!--suppress ButtonStyle -->
98 android:id="@+id/negative_button"
99 android:layout_width="0dp"
100 android:layout_height="match_parent"
101 android:layout_weight="1"
102 android:background="?attr/listChoiceBackgroundIndicator"
103 android:gravity="start|center_vertical"
104 android:textDirection="locale"
105 android:paddingStart="@dimen/fre_button_padding"
106 android:paddingEnd="@dimen/fre_button_padding"
107 android:text="@string/fre_skip_text"
108 android:textAllCaps="true"
109 android:textColor="@color/light_normal_color"
110 android:textSize="@dimen/fre_button_text_size" />
112 <!--suppress ButtonStyle -->
114 android:id="@+id/positive_button"
115 android:layout_width="0dp"
116 android:layout_height="match_parent"
117 android:layout_weight="1"
118 android:background="?attr/listChoiceBackgroundIndicator"
119 android:gravity="end|center_vertical"
120 android:textDirection="locale"
121 android:paddingStart="@dimen/fre_button_padding"
122 android:paddingEnd="@dimen/fre_button_padding"
123 android:text="@string/choose_account_sign_in"
124 android:textAllCaps="true"
125 android:textColor="@color/light_active_color"
126 android:textSize="@dimen/fre_button_text_size" />
129 </org.chromium.chrome.browser.firstrun.AccountFirstRunView>