Replaced GPL v3 with GPL v2; PLEASE, note that GPL v2 still allows the code is used...
[pub/Android/ownCloud.git] / res / drawable / action_item_btn.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012 Bartek Przybylski
6 Copyright (C) 2012-2013 ownCloud Inc.
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 -->
21 <selector xmlns:android="http://schemas.android.com/apk/res/android"
22 android:dither="true">
23
24 <item
25 android:state_window_focused="false"
26 android:drawable="@android:color/transparent" />
27 <item
28 android:state_pressed="true"
29 android:drawable="@drawable/action_item_selected"/>
30 <item
31 android:state_focused="true"
32 android:drawable="@drawable/action_item_selected"/>
33 <item
34 android:drawable="@android:color/transparent"/>
35
36 </selector>