| Index: chrome/android/java/res/layout/fre_choose_account.xml
|
| diff --git a/chrome/android/java/res/layout/fre_choose_account.xml b/chrome/android/java/res/layout/fre_choose_account.xml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b5bcf65bacec5dd60e142ce6cee26edf27e0a556
|
| --- /dev/null
|
| +++ b/chrome/android/java/res/layout/fre_choose_account.xml
|
| @@ -0,0 +1,125 @@
|
| +<?xml version="1.0" encoding="utf-8"?>
|
| +<!-- Copyright 2015 The Chromium Authors. All rights reserved.
|
| +
|
| + Use of this source code is governed by a BSD-style license that can be
|
| + found in the LICENSE file.
|
| +-->
|
| +<org.chromium.chrome.browser.firstrun.AccountFirstRunView
|
| + xmlns:android="http://schemas.android.com/apk/res/android"
|
| + android:id="@+id/fre_account_layout"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="match_parent" >
|
| +
|
| + <ScrollView
|
| + android:layout_width="match_parent"
|
| + android:layout_height="match_parent"
|
| + android:layout_marginBottom="57dp"
|
| + android:fillViewport="true"
|
| + android:scrollbarStyle="outsideOverlay" >
|
| +
|
| + <LinearLayout
|
| + android:id="@+id/fre_account_linear_layout"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:gravity="center"
|
| + android:orientation="vertical" >
|
| +
|
| + <TextView
|
| + android:id="@+id/title"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_marginTop="@dimen/fre_margin"
|
| + android:gravity="center"
|
| + android:lineSpacingMultiplier="1.4"
|
| + android:text="@string/fre_set_up_chrome"
|
| + android:textColor="@color/fre_title_color"
|
| + android:textSize="@dimen/fre_title_text_size" />
|
| +
|
| + <LinearLayout
|
| + android:id="@+id/fre_content"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:layout_marginTop="@dimen/fre_margin"
|
| + android:gravity="center_horizontal"
|
| + android:orientation="vertical" >
|
| +
|
| + <org.chromium.chrome.browser.firstrun.ImageCarousel
|
| + android:id="@+id/image_slider"
|
| + android:layout_width="@dimen/fre_image_carousel_width"
|
| + android:layout_height="@dimen/fre_image_carousel_height"
|
| + android:layout_marginBottom="@dimen/fre_margin"/>
|
| +
|
| + <LinearLayout
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:layout_marginBottom="@dimen/fre_margin"
|
| + android:orientation="vertical"
|
| + android:gravity="center_horizontal"
|
| + android:paddingEnd="24dp"
|
| + android:paddingStart="24dp" >
|
| +
|
| + <Spinner
|
| + android:id="@+id/google_accounts_spinner"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_marginBottom="@dimen/fre_margin"
|
| + android:padding="0dp"
|
| + android:contentDescription="@string/accessibility_fre_account_spinner"
|
| + android:textColor="@color/fre_text_color" />
|
| +
|
| + <TextView
|
| + android:id="@+id/description"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:gravity="center"
|
| + android:lineSpacingMultiplier="1.4"
|
| + android:text="@string/fre_account_choice_description"
|
| + android:textColor="@color/fre_light_text_color"
|
| + android:textSize="@dimen/fre_normal_text_size" />
|
| + </LinearLayout>
|
| + </LinearLayout>
|
| + </LinearLayout>
|
| + </ScrollView>
|
| +
|
| + <View android:id="@+id/button_bar_separator"
|
| + style="@style/ButtonBarTopDivider"
|
| + android:layout_gravity="bottom"
|
| + android:layout_marginBottom="56dp" />
|
| +
|
| + <LinearLayout
|
| + android:id="@+id/button_bar"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="56dp"
|
| + android:layout_gravity="bottom"
|
| + android:orientation="horizontal" >
|
| +
|
| + <Button
|
| + android:id="@+id/negative_button"
|
| + android:layout_width="0dp"
|
| + android:layout_height="match_parent"
|
| + android:layout_weight="1"
|
| + android:background="?attr/listChoiceBackgroundIndicator"
|
| + android:gravity="start|center_vertical"
|
| + android:textDirection="locale"
|
| + android:padding="16dp"
|
| + android:text="@string/fre_skip_text"
|
| + android:textAllCaps="true"
|
| + android:textColor="@color/light_normal_color"
|
| + android:textSize="@dimen/fre_button_text_size" />
|
| +
|
| + <Button
|
| + android:id="@+id/positive_button"
|
| + android:layout_width="0dp"
|
| + android:layout_height="match_parent"
|
| + android:layout_weight="1"
|
| + android:background="?attr/listChoiceBackgroundIndicator"
|
| + android:gravity="end|center_vertical"
|
| + android:textDirection="locale"
|
| + android:padding="16dp"
|
| + android:text="@string/choose_account_sign_in"
|
| + android:textAllCaps="true"
|
| + android:textColor="@color/light_active_color"
|
| + android:textSize="@dimen/fre_button_text_size" />
|
| + </LinearLayout>
|
| +
|
| +</org.chromium.chrome.browser.firstrun.AccountFirstRunView>
|
|
|