diff options
author | George Mount <mount@google.com> | 2014-06-24 09:36:18 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2014-06-25 13:45:16 -0700 |
commit | 990205eada00ad3e575761d19607bb03e12f9aa3 (patch) | |
tree | 5e3158f1ee3d41334f7e2830ae4df3eee3c0577e /core/res/res/transition | |
parent | 16ffa8d3ef3d0a45efbca9fa7b4b32ba4ebd1e07 (diff) | |
download | frameworks_base-990205eada00ad3e575761d19607bb03e12f9aa3.zip frameworks_base-990205eada00ad3e575761d19607bb03e12f9aa3.tar.gz frameworks_base-990205eada00ad3e575761d19607bb03e12f9aa3.tar.bz2 |
Don't use overlay to transition ImageViews.
Bug 15744992
MoveImage used an overlay to transition ImageViews. This
caused strange problems when ImageViews were contained in
other Views. The new ChangeImageTransform does a smooth
transition for changes in scale type and bounds.
Change-Id: Ia5021f4828f8f818a8699b3bdd38437aeba1cfc8
Diffstat (limited to 'core/res/res/transition')
-rw-r--r-- | core/res/res/transition/move.xml | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/core/res/res/transition/move.xml b/core/res/res/transition/move.xml index d4863ee..56e1938 100644 --- a/core/res/res/transition/move.xml +++ b/core/res/res/transition/move.xml @@ -14,17 +14,8 @@ limitations under the License. --> <transitionSet xmlns:android="http://schemas.android.com/apk/res/android"> - <transitionSet> - <changeBounds/> - <changeTransform/> - <changeClipBounds/> - <targets> - <target android:excludeClass="android.widget.ImageView"/> - </targets> - </transitionSet> - <moveImage> - <targets> - <target android:targetClass="android.widget.ImageView"/> - </targets> - </moveImage> + <changeBounds/> + <changeTransform/> + <changeClipBounds/> + <changeImageTransform/> </transitionSet> |