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

Unified Diff: ui/android/java/res/drawable/color_button_border.xml

Issue 23026006: Add support for color input datalist on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Created 7 years, 4 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: ui/android/java/res/drawable/color_button_border.xml
diff --git a/ui/android/java/res/drawable/color_button_border.xml b/ui/android/java/res/drawable/color_button_border.xml
new file mode 100644
index 0000000000000000000000000000000000000000..3815a3b1a8077e17c07c5c5564874694043075fe
--- /dev/null
+++ b/ui/android/java/res/drawable/color_button_border.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2013 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">
newt (away) 2013/08/29 05:35:33 you can actually just add "android:color" as an at
+ <color android:color="@android:color/transparent" />
+ </item>
+ <item>
+ <color android:color="@color/color_picker_border_color" />
+ </item>
+</selector>

Powered by Google App Engine
This is Rietveld 408576698