| Index: chrome/android/java_staging/res/layout/eb_promo_header.xml
|
| diff --git a/chrome/android/java_staging/res/layout/eb_promo_header.xml b/chrome/android/java_staging/res/layout/eb_promo_header.xml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..11b72545297bc491ad00d4edcbea0f506c1ad16b
|
| --- /dev/null
|
| +++ b/chrome/android/java_staging/res/layout/eb_promo_header.xml
|
| @@ -0,0 +1,80 @@
|
| +<?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.
|
| +-->
|
| +
|
| +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| + xmlns:chrome="http://schemas.android.com/apk/res-auto"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:background="@drawable/eb_item_tile" >
|
| +
|
| + <!-- contentDescription skipped on purpose since it's non-functional/informational icon -->
|
| + <ImageView
|
| + android:id="@+id/google_icon"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_alignParentStart="true"
|
| + android:layout_alignParentTop="true"
|
| + android:layout_margin="18dp"
|
| + android:contentDescription="@null"
|
| + android:src="@drawable/blue_google_icon" />
|
| +
|
| + <TextView
|
| + android:id="@+id/title"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_alignParentEnd="true"
|
| + android:layout_alignTop="@id/google_icon"
|
| + android:layout_toEndOf="@id/google_icon"
|
| + android:text="@string/enhanced_bookmark_sign_in_promo_title"
|
| + android:textColor="@color/default_text_color"
|
| + android:textSize="16sp"
|
| + android:textStyle="bold" />
|
| +
|
| + <TextView
|
| + android:id="@+id/description"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_alignParentEnd="true"
|
| + android:layout_below="@id/title"
|
| + android:layout_toEndOf="@id/google_icon"
|
| + android:text="@string/enhanced_bookmark_sign_in_promo_description"
|
| + android:textColor="@color/default_text_color"
|
| + android:textSize="14sp" />
|
| +
|
| + <LinearLayout
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_alignParentEnd="true"
|
| + android:layout_below="@id/description"
|
| + android:layout_marginTop="8dp"
|
| + android:gravity="center_vertical"
|
| + android:orientation="horizontal" >
|
| +
|
| + <Button
|
| + android:id="@+id/no_thanks"
|
| + style="@style/ButtonCompatBorderless"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:text="@string/enhanced_bookmark_sign_in_promo_no_thanks"
|
| + android:textAllCaps="true"
|
| + android:textColor="@color/light_active_color"
|
| + android:textSize="15sp" />
|
| +
|
| + <org.chromium.chrome.browser.widget.ButtonCompat
|
| + android:id="@+id/sign_in"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:layout_margin="16dp"
|
| + android:text="@string/enhanced_bookmark_sign_in_promo_sign_in"
|
| + android:textAllCaps="true"
|
| + android:textColor="@android:color/white"
|
| + android:textSize="15sp"
|
| + chrome:buttonColor="@color/light_active_color" />
|
| + </LinearLayout>
|
| +
|
| +</RelativeLayout>
|
|
|