diff options
author | Danesh M <daneshm90@gmail.com> | 2014-01-29 18:06:10 -0800 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-01-30 02:06:27 +0000 |
commit | 573149c89e92d8f7e5ac3a173fae9fb6f2da02a6 (patch) | |
tree | 48ddd82d6099325c3475d3a93e6ae7e1a4e23baa /res/drawable | |
parent | 737176bd4d269d55b5b691249ad1bf4aa8a09e1c (diff) | |
download | android_packages_apps_Trebuchet-573149c89e92d8f7e5ac3a173fae9fb6f2da02a6.tar.gz android_packages_apps_Trebuchet-573149c89e92d8f7e5ac3a173fae9fb6f2da02a6.tar.bz2 android_packages_apps_Trebuchet-573149c89e92d8f7e5ac3a173fae9fb6f2da02a6.zip |
Trebuchet : Fix widget icon state
Change-Id: Ib38de81ed5f41bf6fd5c107c395175e4697da89a
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/iconpack_button.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/res/drawable/iconpack_button.xml b/res/drawable/iconpack_button.xml new file mode 100644 index 000000000..fedfb7a8e --- /dev/null +++ b/res/drawable/iconpack_button.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_focused="true" android:drawable="@drawable/ic_iconpacks_pressed" /> + <item android:state_pressed="true" android:drawable="@drawable/ic_iconpacks_pressed" /> + <item android:drawable="@drawable/ic_iconpacks" /> +</selector> |