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

Unified Diff: chrome/android/java/res/color/float_label.xml

Issue 872023002: Use floating labels for preference forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chrome/browser/BUILD.gn Created 5 years, 11 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/color/float_label.xml
diff --git a/chrome/android/java/res/drawable/app_banner_button_close.xml b/chrome/android/java/res/color/float_label.xml
similarity index 62%
copy from chrome/android/java/res/drawable/app_banner_button_close.xml
copy to chrome/android/java/res/color/float_label.xml
index 8111617d121ca87d953473831451d03b64c9a556..40e6a8e75144ca371dfa5d274aa8c8d1a088f09e 100644
--- a/chrome/android/java/res/drawable/app_banner_button_close.xml
+++ b/chrome/android/java/res/color/float_label.xml
@@ -1,12 +1,9 @@
<?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" android:drawable="@color/app_banner_card_highlight" />
- <item android:drawable="@android:color/transparent" />
-</selector>
+ <item android:color="@color/pref_accent_color" android:state_activated="true" />
+ <item android:color="@color/secondary_text_default_material_light" />
+</selector>

Powered by Google App Engine
This is Rietveld 408576698