OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 |
| 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.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" > |
| 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: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" > |
| 26 |
| 27 <TextView |
| 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" /> |
| 37 |
| 38 <LinearLayout |
| 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" > |
| 45 |
| 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"/> |
| 51 |
| 52 <LinearLayout |
| 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" > |
| 60 |
| 61 <Spinner |
| 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" |
| 66 android:padding="0dp" |
| 67 android:contentDescription="@string/accessibility_fre_ac
count_spinner" |
| 68 android:textColor="@color/fre_text_color" /> |
| 69 |
| 70 <TextView |
| 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" /> |
| 79 </LinearLayout> |
| 80 </LinearLayout> |
| 81 </LinearLayout> |
| 82 </ScrollView> |
| 83 |
| 84 <View android:id="@+id/button_bar_separator" |
| 85 style="@style/ButtonBarTopDivider" |
| 86 android:layout_gravity="bottom" |
| 87 android:layout_marginBottom="56dp" /> |
| 88 |
| 89 <LinearLayout |
| 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" > |
| 95 |
| 96 <Button |
| 97 android:id="@+id/negative_button" |
| 98 android:layout_width="0dp" |
| 99 android:layout_height="match_parent" |
| 100 android:layout_weight="1" |
| 101 android:background="?attr/listChoiceBackgroundIndicator" |
| 102 android:gravity="start|center_vertical" |
| 103 android:textDirection="locale" |
| 104 android:padding="16dp" |
| 105 android:text="@string/fre_skip_text" |
| 106 android:textAllCaps="true" |
| 107 android:textColor="@color/light_normal_color" |
| 108 android:textSize="@dimen/fre_button_text_size" /> |
| 109 |
| 110 <Button |
| 111 android:id="@+id/positive_button" |
| 112 android:layout_width="0dp" |
| 113 android:layout_height="match_parent" |
| 114 android:layout_weight="1" |
| 115 android:background="?attr/listChoiceBackgroundIndicator" |
| 116 android:gravity="end|center_vertical" |
| 117 android:textDirection="locale" |
| 118 android:padding="16dp" |
| 119 android:text="@string/choose_account_sign_in" |
| 120 android:textAllCaps="true" |
| 121 android:textColor="@color/light_active_color" |
| 122 android:textSize="@dimen/fre_button_text_size" /> |
| 123 </LinearLayout> |
| 124 |
| 125 </org.chromium.chrome.browser.firstrun.AccountFirstRunView> |
OLD | NEW |