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

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

Issue 378043002: Visual makeover for infobars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't show buttons with empty text Created 6 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
« no previous file with comments | « no previous file | chrome/android/java/res/drawable/infobar_button_normal_floating.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/drawable/btn_infobar_blue.xml
diff --git a/chrome/android/java/res/drawable/app_banner_button_open.xml b/chrome/android/java/res/drawable/btn_infobar_blue.xml
similarity index 53%
copy from chrome/android/java/res/drawable/app_banner_button_open.xml
copy to chrome/android/java/res/drawable/btn_infobar_blue.xml
index d841e087469918cd38f82687484320a186b24489..73e7e0bce43288283bd8227e4423428c8c15c114 100644
--- a/chrome/android/java/res/drawable/app_banner_button_open.xml
+++ b/chrome/android/java/res/drawable/btn_infobar_blue.xml
@@ -1,22 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
-
<!-- Copyright 2014 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.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_pressed="true">
+ <item
+ android:state_pressed="false"
+ android:state_focused="false"
+ android:state_selected="false">
<shape>
- <solid android:color="#ebebeb" />
- <stroke android:width="1dp" android:color="#cccccc" />
+ <solid android:color="@color/infobar_accent_blue" />
+ <corners android:radius="1dp" />
</shape>
</item>
<item>
<shape>
- <solid android:color="#ffffff" />
- <stroke android:width="1dp" android:color="#d9d9d9"/>
+ <solid android:color="@color/infobar_accent_blue_pressed" />
+ <corners android:radius="1dp" />
</shape>
</item>
</selector>
« no previous file with comments | « no previous file | chrome/android/java/res/drawable/infobar_button_normal_floating.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698