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> |