Update to platforms;android-28.
[android_tools.git] / sdk / platforms / android-28 / data / res / drawable / menu_selector.xml
blob96f80aeb170b19c2deb485554d7b72facb869a08
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7   
8           http://www.apache.org/licenses/LICENSE-2.0
9   
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
17 <selector xmlns:android="http://schemas.android.com/apk/res/android">
19     <item
20         android:state_pressed="true"
21         android:state_enabled="true"
22         android:drawable="@drawable/highlight_pressed" />
24     <item
25         android:state_selected="true"
26         android:state_enabled="false"
27         android:drawable="@drawable/highlight_disabled" />
29     <item
30         android:state_selected="true"
31         android:state_enabled="true"
32         android:drawable="@drawable/highlight_selected" />
34     <item
35         android:state_focused="true"
36         android:state_enabled="false"
37         android:drawable="@drawable/highlight_disabled" />
39     <item
40         android:state_focused="true"
41         android:state_enabled="true"
42         android:drawable="@drawable/highlight_selected" />
44 </selector>