summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2010-12-14 16:46:39 -0800
committerMichael Jurka <mikejurka@google.com>2010-12-15 21:18:17 -0800
commit38b4f7c5eab773ad36048b5ab8713750dcaaf748 (patch)
tree68f28e9d9a7fcd279cd53eb5ea994b3e64186fee /res
parent760e5375f003accf04f789e90a919ed476d4c335 (diff)
downloadandroid_packages_apps_Trebuchet-38b4f7c5eab773ad36048b5ab8713750dcaaf748.tar.gz
android_packages_apps_Trebuchet-38b4f7c5eab773ad36048b5ab8713750dcaaf748.tar.bz2
android_packages_apps_Trebuchet-38b4f7c5eab773ad36048b5ab8713750dcaaf748.zip
holo look for pressed/focused workspace icons
Change-Id: Ia964c868afd200be3828e4397659391f857599e6
Diffstat (limited to 'res')
-rw-r--r--res/drawable/shortcut_selector.xml25
-rw-r--r--res/values/colors.xml5
-rw-r--r--res/values/styles.xml1
3 files changed, 5 insertions, 26 deletions
diff --git a/res/drawable/shortcut_selector.xml b/res/drawable/shortcut_selector.xml
deleted file mode 100644
index 8059f0086..000000000
--- a/res/drawable/shortcut_selector.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-**
-** Copyright 2007, 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_window_focused="true" android:state_focused="true" android:drawable="@drawable/focused_application_background" />
- <item android:state_pressed="true" android:drawable="@drawable/pressed_application_background" />
- <item android:drawable="@android:color/transparent" />
-</selector>
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 57f8bfc22..4abbd50dd 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -33,4 +33,9 @@
<color name="dimmed_view_color">#FF7F7F7F</color>
<color name="drag_outline_color">#9DBE12</color>
+
+ <color name="workspace_item_pressed_outline_color">#6595f9</color>
+ <color name="workspace_item_pressed_glow_color">#0997ff</color>
+ <color name="workspace_item_focused_outline_color">#6595f9</color>
+ <color name="workspace_item_focused_glow_color">#0997ff</color>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 1e2dba295..7592a1597 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -44,7 +44,6 @@
<item name="android:gravity">center_horizontal</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
- <item name="android:background">@drawable/shortcut_selector</item>
<item name="android:paddingLeft">5dip</item>
<item name="android:paddingRight">5dip</item>
</style>