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

Unified Diff: chrome/android/java/res/drawable/contextual_search_peek_promo_new_background.xml

Issue 1379183003: [ContextualSearch] Adds long press promo for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing more comments Created 5 years, 2 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/drawable/contextual_search_peek_promo_new_background.xml
diff --git a/chrome/android/java/res/drawable-v19/action_bar_activity_bg.xml b/chrome/android/java/res/drawable/contextual_search_peek_promo_new_background.xml
similarity index 56%
copy from chrome/android/java/res/drawable-v19/action_bar_activity_bg.xml
copy to chrome/android/java/res/drawable/contextual_search_peek_promo_new_background.xml
index dd316b24390de7f3f4adfe2366d08b7a047ca231..4ccc25fec83d05f60b447c2d4bbb0005cd137eaf 100644
--- a/chrome/android/java/res/drawable-v19/action_bar_activity_bg.xml
+++ b/chrome/android/java/res/drawable/contextual_search_peek_promo_new_background.xml
@@ -2,9 +2,13 @@
<!-- 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. -->
-
-<!-- Once pre-KitKat devices aren't supported, this drawable can be replaced
- with a plain old color. -->
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
- <solid android:color="#fff"/>
-</shape>
+ <padding
+ android:top="2dp"
+ android:left="6dp"
+ android:bottom="2dp"
+ android:right="6dp"
+ />
+ <solid android:color="#FFFFFF" />
+ <corners android:radius="3dp" />
+</shape>

Powered by Google App Engine
This is Rietveld 408576698