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

Unified Diff: chrome/android/java/res/layout/tab_switcher_callout.xml

Issue 1909763002: Add callout for the tab switcher button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/res/layout/tab_switcher_callout.xml
diff --git a/chrome/android/java/res/layout/tab_switcher_callout.xml b/chrome/android/java/res/layout/tab_switcher_callout.xml
new file mode 100644
index 0000000000000000000000000000000000000000..20c6f91aed8582728adb892dee77806017914f65
--- /dev/null
+++ b/chrome/android/java/res/layout/tab_switcher_callout.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2016 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:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="@dimen/infobar_padding" >
+
+ <TextView
+ android:id="@+id/header_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:fontFamily="sans-serif-medium"
+ android:text="@string/tab_switcher_callout_header"
+ android:textSize="@dimen/infobar_big_icon_message_size"
+ android:textColor="@color/default_text_color" />
+
+ <TextView
+ android:id="@+id/header_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:text="@string/tab_switcher_callout_body"
+ android:textSize="@dimen/infobar_descriptive_text_size"
+ android:textColor="@color/descriptive_text_color" />
+
+ <Button
+ android:id="@+id/confirm_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="24dp"
+ android:layout_gravity="end"
+ android:background="?android:attr/selectableItemBackground"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:text="@string/ok_got_it"
+ android:textColor="@color/infobar_accent_blue" />
+
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698