Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / drawable / btn_dialog.xml
blobd1d7e292e434be13596ea28d4ee3da96584f045f
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2007 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">
18     <item android:state_window_focused="false" android:state_enabled="true"
19         android:drawable="@drawable/btn_dialog_normal" />
20     <item android:state_window_focused="false" android:state_enabled="false"
21         android:drawable="@drawable/btn_dialog_disable" />
22     <item android:state_pressed="true"
23         android:drawable="@drawable/btn_dialog_pressed" />
24     <item android:state_enabled="true" android:state_focused="true"
25         android:drawable="@drawable/btn_dialog_selected" />
26     <item android:drawable="@drawable/btn_dialog_normal" />
27 </selector>