summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2014-01-29 18:06:10 -0800
committerDanesh M <daneshm90@gmail.com>2014-01-30 02:06:27 +0000
commit573149c89e92d8f7e5ac3a173fae9fb6f2da02a6 (patch)
tree48ddd82d6099325c3475d3a93e6ae7e1a4e23baa /res
parent737176bd4d269d55b5b691249ad1bf4aa8a09e1c (diff)
downloadandroid_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')
-rw-r--r--res/drawable-hdpi/ic_iconpacks_pressed.pngbin0 -> 2848 bytes
-rw-r--r--res/drawable-hdpi/ic_widget_pressed.pngbin2332 -> 1961 bytes
-rw-r--r--res/drawable-mdpi/ic_iconpacks_pressed.pngbin0 -> 2060 bytes
-rw-r--r--res/drawable-mdpi/ic_widget_pressed.pngbin1487 -> 1658 bytes
-rw-r--r--res/drawable-xhdpi/ic_iconpacks_pressed.pngbin0 -> 3716 bytes
-rw-r--r--res/drawable-xhdpi/ic_widget_pressed.pngbin3360 -> 2359 bytes
-rw-r--r--res/drawable-xxhdpi/ic_iconpacks_pressed.pngbin0 -> 5481 bytes
-rw-r--r--res/drawable-xxhdpi/ic_widget_pressed.pngbin5518 -> 2916 bytes
-rw-r--r--res/drawable/iconpack_button.xml21
-rw-r--r--res/layout/overview_panel.xml2
10 files changed, 22 insertions, 1 deletions
diff --git a/res/drawable-hdpi/ic_iconpacks_pressed.png b/res/drawable-hdpi/ic_iconpacks_pressed.png
new file mode 100644
index 000000000..3979412b1
--- /dev/null
+++ b/res/drawable-hdpi/ic_iconpacks_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_widget_pressed.png b/res/drawable-hdpi/ic_widget_pressed.png
index 081f9f9ce..4d0a1e43e 100644
--- a/res/drawable-hdpi/ic_widget_pressed.png
+++ b/res/drawable-hdpi/ic_widget_pressed.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_iconpacks_pressed.png b/res/drawable-mdpi/ic_iconpacks_pressed.png
new file mode 100644
index 000000000..6e96485be
--- /dev/null
+++ b/res/drawable-mdpi/ic_iconpacks_pressed.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_widget_pressed.png b/res/drawable-mdpi/ic_widget_pressed.png
index 0a3e8838f..f65f49f8a 100644
--- a/res/drawable-mdpi/ic_widget_pressed.png
+++ b/res/drawable-mdpi/ic_widget_pressed.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_iconpacks_pressed.png b/res/drawable-xhdpi/ic_iconpacks_pressed.png
new file mode 100644
index 000000000..a90dfe693
--- /dev/null
+++ b/res/drawable-xhdpi/ic_iconpacks_pressed.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_widget_pressed.png b/res/drawable-xhdpi/ic_widget_pressed.png
index 8bb387b88..eca9bcc26 100644
--- a/res/drawable-xhdpi/ic_widget_pressed.png
+++ b/res/drawable-xhdpi/ic_widget_pressed.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_iconpacks_pressed.png b/res/drawable-xxhdpi/ic_iconpacks_pressed.png
new file mode 100644
index 000000000..5ff5404bb
--- /dev/null
+++ b/res/drawable-xxhdpi/ic_iconpacks_pressed.png
Binary files differ
diff --git a/res/drawable-xxhdpi/ic_widget_pressed.png b/res/drawable-xxhdpi/ic_widget_pressed.png
index 3d3670ed4..db6765f13 100644
--- a/res/drawable-xxhdpi/ic_widget_pressed.png
+++ b/res/drawable-xxhdpi/ic_widget_pressed.png
Binary files differ
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>
diff --git a/res/layout/overview_panel.xml b/res/layout/overview_panel.xml
index dd33cfb97..479b622ec 100644
--- a/res/layout/overview_panel.xml
+++ b/res/layout/overview_panel.xml
@@ -65,7 +65,7 @@
android:paddingRight="@dimen/overview_panel_button_spacing"
android:text="@string/icon_packs_title"
android:drawablePadding="4dp"
- android:drawableTop="@drawable/ic_iconpacks"
+ android:drawableTop="@drawable/iconpack_button"
android:gravity="center_horizontal"
android:fontFamily="sans-serif-condensed"
android:textAllCaps="true"