|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | + |
| 3 | +<!-- |
| 4 | + Copyright (c) 2014 Oleksandr Tyshkovets <olexandr.tyshkovets@gmail.com> |
| 5 | +
|
| 6 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + you may not use this file except in compliance with the License. |
| 8 | + You may obtain a copy of the License at |
| 9 | +
|
| 10 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +
|
| 12 | + Unless required by applicable law or agreed to in writing, software |
| 13 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + See the License for the specific language governing permissions and |
| 16 | + limitations under the License. |
| 17 | +--> |
| 18 | + |
| 19 | +<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
| 20 | + <item android:state_pressed="true" > |
| 21 | + <shape> |
| 22 | + <solid |
| 23 | + android:color="@color/default_line_indicator_selected_color" /> |
| 24 | + <corners |
| 25 | + android:radius="200dp" /> |
| 26 | + <stroke |
| 27 | + android:width="1dp" |
| 28 | + android:color="@color/abs__bright_foreground_disabled_holo_light" /> |
| 29 | + </shape> |
| 30 | + </item> |
| 31 | + <item android:state_enabled="false" > |
| 32 | + <shape> |
| 33 | + <solid |
| 34 | + android:color="@color/abs__primary_text_disable_only_holo_dark" /> |
| 35 | + <corners |
| 36 | + android:radius="200dp" /> |
| 37 | + <stroke |
| 38 | + android:width="1dp" |
| 39 | + android:color="@color/abs__bright_foreground_disabled_holo_light" /> |
| 40 | + </shape> |
| 41 | + </item> |
| 42 | + <item> |
| 43 | + <shape> |
| 44 | + <solid android:color="@android:color/transparent" /> |
| 45 | + <corners |
| 46 | + android:radius="200dp" /> |
| 47 | + <stroke |
| 48 | + android:width="1dp" |
| 49 | + android:color="@color/abs__bright_foreground_disabled_holo_light" /> |
| 50 | + </shape> |
| 51 | + </item> |
| 52 | +</selector> |
0 commit comments