OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- |
| 3 Copyright 2013 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. |
| 6 --> |
| 7 |
| 8 <selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 9 |
| 10 <item android:state_enabled="false"> |
| 11 |
| 12 <shape> |
| 13 |
| 14 <solid android:color="#FFFFFF" /> |
| 15 </shape> |
| 16 </item> |
| 17 <item> |
| 18 |
| 19 <layer-list> |
| 20 |
| 21 <item android:top="0dp" |
| 22 android:right="0dp" |
| 23 android:bottom="0dp" |
| 24 android:left="0dp"> |
| 25 |
| 26 <shape android:shape="rectangle"> |
| 27 |
| 28 <solid android:color="#B0B0B0"/> |
| 29 </shape> |
| 30 </item> |
| 31 |
| 32 <item android:top="0dp" |
| 33 android:right="0dp" |
| 34 android:bottom="0dp" |
| 35 android:left="1dp"> |
| 36 |
| 37 <shape android:shape="rectangle"> |
| 38 |
| 39 <solid android:color="@color/color_picker_background_color"/
> |
| 40 </shape> |
| 41 </item> |
| 42 |
| 43 <item android:id="@+id/color_button_swatch" |
| 44 android:top="1dp" |
| 45 android:right="1dp" |
| 46 android:bottom="1dp" |
| 47 android:left="2dp"> |
| 48 |
| 49 <shape android:shape="rectangle"> |
| 50 |
| 51 <solid android:color="#FF0000"/> |
| 52 </shape> |
| 53 </item> |
| 54 </layer-list> |
| 55 </item> |
| 56 </selector> |
OLD | NEW |