summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2010-11-11 18:41:33 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-11-11 18:41:33 -0800
commit2a88ffe118b454facb906f75dfaa403853dc6477 (patch)
tree4eb249be2acb82533932994ee40fb398c580eb0b /core
parente7bdbf2aa7eb4cacfd3985cba6a12c3b1caf11a0 (diff)
parentad16608bac40b9661c4ff3c94e2511d58970ab04 (diff)
downloadframeworks_base-2a88ffe118b454facb906f75dfaa403853dc6477.zip
frameworks_base-2a88ffe118b454facb906f75dfaa403853dc6477.tar.gz
frameworks_base-2a88ffe118b454facb906f75dfaa403853dc6477.tar.bz2
Merge "Bug 3183184 - add fade-out for selectable item backgrounds"
Diffstat (limited to 'core')
-rw-r--r--core/res/res/drawable/item_background_holo_dark.xml3
-rw-r--r--core/res/res/drawable/item_background_holo_light.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/core/res/res/drawable/item_background_holo_dark.xml b/core/res/res/drawable/item_background_holo_dark.xml
index f119ec0..2d4f20a 100644
--- a/core/res/res/drawable/item_background_holo_dark.xml
+++ b/core/res/res/drawable/item_background_holo_dark.xml
@@ -14,7 +14,8 @@
limitations under the License.
-->
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:exitFadeDuration="@android:integer/config_mediumAnimTime">
<item android:state_window_focused="false" android:drawable="@color/transparent" />
diff --git a/core/res/res/drawable/item_background_holo_light.xml b/core/res/res/drawable/item_background_holo_light.xml
index d3d278a..c616d86 100644
--- a/core/res/res/drawable/item_background_holo_light.xml
+++ b/core/res/res/drawable/item_background_holo_light.xml
@@ -14,7 +14,8 @@
limitations under the License.
-->
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:exitFadeDuration="@android:integer/config_mediumAnimTime">
<item android:state_window_focused="false" android:drawable="@color/transparent" />