Chromium Code Reviews| 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..e640ab7352d7ab83bba2df32630b1e966f59cd6b |
| --- /dev/null |
| +++ b/ui/android/java/res/drawable/color_button_background.xml |
| @@ -0,0 +1,56 @@ |
| +<?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"> |
| + |
|
newt (away)
2013/10/09 06:07:03
remove stray empty lines. this should look cleaner
keishi
2013/10/15 16:44:02
Done.
|
| + <item android:state_enabled="false"> |
|
newt (away)
2013/10/09 06:07:03
don't need a selector or this first item. as per t
keishi
2013/10/15 16:44:02
Done.
|
| + |
| + <shape> |
| + |
| + <solid android:color="#FFFFFF" /> |
| + </shape> |
| + </item> |
| + <item> |
| + |
| + <layer-list> |
| + |
| + <item android:top="0dp" |
|
newt (away)
2013/10/09 06:07:03
top, right, left, and bottom are optional. you can
keishi
2013/10/15 16:44:02
Done.
|
| + 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="0dp" |
| + android:right="1dp" |
| + android:bottom="0dp" |
| + android:left="0dp"> |
| + |
| + <shape android:shape="rectangle"> |
| + |
| + <solid android:color="@color/color_picker_background_color"/> |
| + </shape> |
| + </item> |
| + |
| + <item android:id="@+id/color_button_swatch" |
|
newt (away)
2013/10/09 06:07:03
put each attribute on its own line:
<item
keishi
2013/10/15 16:44:02
Done.
|
| + android:top="1dp" |
| + android:right="2dp" |
| + android:bottom="1dp" |
| + android:left="1dp"> |
| + |
| + <shape android:shape="rectangle"> |
| + |
| + <solid android:color="#FF0000"/> |
| + </shape> |
| + </item> |
| + </layer-list> |
| + </item> |
| +</selector> |