Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3002)

Unified Diff: chrome/android/java_staging/res/layout/opt_out_promo.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java_staging/res/layout/opt_out_promo.xml
diff --git a/chrome/android/java_staging/res/layout/opt_out_promo.xml b/chrome/android/java_staging/res/layout/opt_out_promo.xml
new file mode 100644
index 0000000000000000000000000000000000000000..1737c73d0ad08ca58c210e4fd9ed1ca2e95eaa58
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/opt_out_promo.xml
@@ -0,0 +1,55 @@
+<?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. -->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/opt_out_promo"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <ImageView
+ android:id="@+id/tabs_moved_illustration"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:background="#3C3F41"
+ android:src="@drawable/tabs_moved_nexus"
+ android:contentDescription="@null" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="16sp"
+ android:layout_marginTop="24dp"
+ android:layout_marginStart="32dp"
+ android:layout_marginEnd="32dp"
+ android:text="@string/tabs_and_apps_opt_out_title"
+ android:textColor="@color/default_text_color" />
+
+ <org.chromium.ui.widget.TextViewWithClickableSpans
+ android:id="@+id/opt_out_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:layout_marginStart="32dp"
+ android:layout_marginEnd="32dp"
+ android:bufferType="spannable"
+ android:textSize="14sp"
+ android:textColor="@color/opt_out_text_color"
+ android:lineSpacingMultiplier="1.4" />
+
+ <Button
+ style="@style/ButtonCompatBorderless"
+ android:id="@+id/got_it_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end"
+ android:layout_marginTop="24dp"
+ android:layout_marginBottom="16dp"
+ android:layout_marginEnd="32dp"
+ android:text="@string/tabs_and_apps_got_it_button"
+ android:textColor="@color/light_active_color" />
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698