OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. |
| 5 --> |
| 6 |
| 7 <!-- Layout used to present a set of default search engines to the user. --> |
| 8 <LinearLayout |
| 9 xmlns:android="http://schemas.android.com/apk/res/android" |
| 10 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 11 android:layout_width="match_parent" |
| 12 android:layout_height="match_parent" |
| 13 android:background="@color/signin_body_background" |
| 14 android:orientation="vertical" > |
| 15 |
| 16 <FrameLayout |
| 17 android:layout_width="match_parent" |
| 18 android:layout_height="0dp" |
| 19 android:layout_weight="1" > |
| 20 |
| 21 <org.chromium.chrome.browser.firstrun.FirstRunChooserView |
| 22 android:layout_width="match_parent" |
| 23 android:layout_height="match_parent" |
| 24 android:fadeScrollbars="false" |
| 25 android:requiresFadingEdge="vertical" |
| 26 android:fadingEdgeLength="48dp" > |
| 27 |
| 28 <LinearLayout |
| 29 android:id="@+id/scrolling_content" |
| 30 android:layout_width="match_parent" |
| 31 android:layout_height="wrap_content" |
| 32 android:orientation="vertical"> |
| 33 |
| 34 <!-- The layout_width/layout_height is set to 16/9 dynamically i
n Java --> |
| 35 <TextView |
| 36 android:id="@+id/chooser_title" |
| 37 android:layout_width="match_parent" |
| 38 android:layout_height="wrap_content" |
| 39 android:gravity="bottom" |
| 40 android:paddingStart="@dimen/signin_chooser_padding" |
| 41 android:paddingEnd="@dimen/signin_chooser_padding" |
| 42 android:paddingBottom="@dimen/signin_chooser_padding" |
| 43 android:background="@color/signin_head_background" |
| 44 android:textColor="@color/default_text_color" |
| 45 android:textSize="@dimen/fre_title_text_size" |
| 46 android:text="@string/search_engine_dialog_title" /> |
| 47 |
| 48 <View style="@style/Divider" /> |
| 49 |
| 50 <org.chromium.chrome.browser.widget.RadioButtonLayout |
| 51 android:id="@+id/engine_controls" |
| 52 android:layout_width="match_parent" |
| 53 android:layout_height="wrap_content" |
| 54 android:layout_marginStart="12dp" |
| 55 android:layout_marginEnd="@dimen/signin_chooser_padding" /> |
| 56 </LinearLayout> |
| 57 </org.chromium.chrome.browser.firstrun.FirstRunChooserView> |
| 58 </FrameLayout> |
| 59 |
| 60 <TextView |
| 61 android:layout_width="match_parent" |
| 62 android:layout_height="wrap_content" |
| 63 android:text="@string/search_engine_dialog_footer" |
| 64 android:textColor="@color/descriptive_text_color" |
| 65 android:textSize="@dimen/fre_normal_text_size" |
| 66 android:padding="@dimen/signin_chooser_padding" /> |
| 67 |
| 68 <!--suppress ButtonStyle --> |
| 69 <org.chromium.ui.widget.ButtonCompat |
| 70 android:id="@+id/button_primary" |
| 71 android:layout_width="wrap_content" |
| 72 android:layout_height="36dp" |
| 73 android:layout_gravity="end" |
| 74 android:layout_marginBottom="16dp" |
| 75 android:layout_marginStart="16dp" |
| 76 android:layout_marginEnd="22dp" |
| 77 android:paddingStart="@dimen/fre_button_padding" |
| 78 android:paddingEnd="@dimen/fre_button_padding" |
| 79 android:text="@string/ok" |
| 80 android:textAllCaps="true" |
| 81 android:textColor="@android:color/white" |
| 82 android:textSize="14sp" |
| 83 chrome:buttonColor="@color/light_active_color" |
| 84 chrome:buttonRaised="false" /> |
| 85 |
| 86 </LinearLayout> |
OLD | NEW |