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

Unified Diff: chrome/android/java_staging/res/layout/snack_bar.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/snack_bar.xml
diff --git a/chrome/android/java_staging/res/layout/snack_bar.xml b/chrome/android/java_staging/res/layout/snack_bar.xml
new file mode 100644
index 0000000000000000000000000000000000000000..297917c38d44e71b657330adfe4ad1871ef8d9b6
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/snack_bar.xml
@@ -0,0 +1,38 @@
+<?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/undobar"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/undo_bar_height"
+ android:background="#282C32"
+ android:orientation="horizontal" >
+
+ <org.chromium.chrome.browser.snackbar.TemplatePreservingTextView
+ android:id="@+id/undobar_message"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start|center_vertical"
+ android:layout_marginStart="24dp"
+ android:layout_weight="1"
+ android:singleLine="true"
+ android:textAlignment="viewStart"
+ android:textColor="@android:color/white"
+ android:textSize="14sp" />
+
+ <TextView
+ android:id="@+id/undobar_button"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:fontFamily="sans-serif-medium"
+ android:gravity="center_vertical"
+ android:paddingEnd="24dp"
+ android:paddingStart="24dp"
+ android:text="@string/undo_bar_button_text"
+ android:textAllCaps="true"
+ android:textColor="@color/snack_bar_button_color"
+ android:textSize="14sp" />
+
+</LinearLayout>
« no previous file with comments | « chrome/android/java_staging/res/layout/single_line_edit_dialog.xml ('k') | chrome/android/java_staging/res/layout/toolbar.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698