Merge branch 'develop' into setup_buttons
[pub/Android/ownCloud.git] / res / drawable / btn_default.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012-2013 ownCloud Inc.
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2,
9 as published by the Free Software Foundation.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <selector xmlns:android="http://schemas.android.com/apk/res/android">
20 <item android:state_window_focused="false" android:state_enabled="true"
21 android:drawable="@drawable/btn_default_enabled" />
22 <item android:state_window_focused="false" android:state_enabled="false"
23 android:drawable="@drawable/btn_default_disabled" />
24 <item android:state_pressed="true"
25 android:drawable="@drawable/btn_default_pressed" />
26 <item android:state_focused="true" android:state_enabled="true"
27 android:drawable="@drawable/btn_default_focused" />
28 <item android:state_enabled="true"
29 android:drawable="@drawable/btn_default_enabled" />
30 <item android:state_focused="true"
31 android:drawable="@drawable/btn_default_disabled_focused" />
32 <item
33 android:drawable="@drawable/btn_default_disabled" />
34 </selector>