diff options
| author | Adam Powell <adamp@google.com> | 2010-11-11 18:39:47 -0800 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2010-11-11 18:39:47 -0800 |
| commit | ad16608bac40b9661c4ff3c94e2511d58970ab04 (patch) | |
| tree | 4478023b2621c764435e916369bfd26b47857b46 | |
| parent | 61a6315e664193317aa1c598d322195e856c0e8a (diff) | |
| download | frameworks_base-ad16608bac40b9661c4ff3c94e2511d58970ab04.zip frameworks_base-ad16608bac40b9661c4ff3c94e2511d58970ab04.tar.gz frameworks_base-ad16608bac40b9661c4ff3c94e2511d58970ab04.tar.bz2 | |
Bug 3183184 - add fade-out for selectable item backgrounds
Change-Id: Id2a1ff4eb7177509f08c20e39bbf1dbf5c25dd5f
| -rw-r--r-- | core/res/res/drawable/item_background_holo_dark.xml | 3 | ||||
| -rw-r--r-- | core/res/res/drawable/item_background_holo_light.xml | 3 |
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" /> |
