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

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

Issue 1229733002: Add new snackbar features to prepare for omnibox geolocation snackbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ian's comments; fixed snackbar location in multiwindow mode when keyboard is visible Created 5 years, 5 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/snack_bar.xml
diff --git a/chrome/android/java/res/layout/snack_bar.xml b/chrome/android/java/res/layout/snack_bar.xml
deleted file mode 100644
index 297917c38d44e71b657330adfe4ad1871ef8d9b6..0000000000000000000000000000000000000000
--- a/chrome/android/java/res/layout/snack_bar.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?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/res/color/snackbar_button_color.xml ('k') | chrome/android/java/res/layout/snackbar.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698