Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / eb_promo_header.xml
blob99169b8e1bbc0d6c6c996a418fdcee43df7e3bf0
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright 2015 The Chromium Authors. All rights reserved.
5      Use of this source code is governed by a BSD-style license that can be
6      found in the LICENSE file.
7 -->
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9     xmlns:chrome="http://schemas.android.com/apk/res-auto"
10     android:layout_width="match_parent"
11     android:layout_height="wrap_content"
12     android:orientation="vertical"
13     android:padding="16dp" >
15     <TextView
16         android:id="@+id/title"
17         android:layout_width="wrap_content"
18         android:layout_height="wrap_content"
19         android:text="@string/enhanced_bookmark_sign_in_promo_title"
20         android:textColor="@color/default_text_color"
21         android:textSize="16sp"
22         android:textStyle="bold" />
24     <TextView
25         android:id="@+id/description"
26         android:layout_width="wrap_content"
27         android:layout_height="wrap_content"
28         android:layout_marginTop="8dp"
29         android:text="@string/enhanced_bookmark_sign_in_promo_description"
30         android:textColor="@color/default_text_color"
31         android:textSize="14sp" />
33     <LinearLayout
34         android:layout_width="wrap_content"
35         android:layout_height="wrap_content"
36         android:layout_marginTop="16dp"
37         android:layout_gravity="end"
38         android:gravity="center_vertical"
39         android:orientation="horizontal" >
41         <Button
42             android:id="@+id/no_thanks"
43             style="@style/ButtonCompatBorderless"
44             android:layout_width="wrap_content"
45             android:layout_height="wrap_content"
46             android:text="@string/enhanced_bookmark_sign_in_promo_no_thanks"
47             android:textAllCaps="true"
48             android:textColor="@color/light_active_color"
49             android:textSize="15sp" />
51         <org.chromium.ui.widget.ButtonCompat
52             android:id="@+id/sign_in"
53             android:layout_width="wrap_content"
54             android:layout_height="wrap_content"
55             android:text="@string/enhanced_bookmark_sign_in_promo_sign_in"
56             android:textAllCaps="true"
57             android:textColor="@android:color/white"
58             android:textSize="15sp"
59             chrome:buttonColor="@color/light_active_color" />
60     </LinearLayout>
62 </LinearLayout>