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

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

Issue 23026006: Add support for color input datalist on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_background.xml
diff --git a/ui/android/java/res/drawable/color_button_background.xml b/ui/android/java/res/drawable/color_button_background.xml
new file mode 100644
index 0000000000000000000000000000000000000000..66bcce2e4d2fc3460b7aaa40f0b207eefa95b54c
--- /dev/null
+++ b/ui/android/java/res/drawable/color_button_background.xml
@@ -0,0 +1,36 @@
+<?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.
+-->
+
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:top="0dp"
+ android:right="0dp"
+ android:bottom="0dp"
+ android:left="0dp">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/color_picker_border_color"/>
+ </shape>
+ </item>
+ <item android:top="0px"
+ android:right="1px"
+ android:bottom="0px"
+ android:left="1px">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/color_picker_background_color"/>
+ </shape>
+ </item>
+ <item
+ android:id="@+id/color_button_swatch"
+ android:top="1px"
+ android:right="2px"
+ android:bottom="1px"
+ android:left="2px">
+ <shape android:shape="rectangle">
+ <solid android:color="#FF0000"/>
+ </shape>
+ </item>
+</layer-list>
« no previous file with comments | « content/renderer/renderer_webcolorchooser_impl.cc ('k') | ui/android/java/res/drawable/color_picker_border.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698