Skip to content

Commit

Permalink
Improve the image opening animation on Android 5.0 (Lollipop).
Browse files Browse the repository at this point in the history
By using changeBounds as well as changeImageTransform.
However, sometimes (not always) the image is then small when it is
"opened" in the next activity and the image often returns to
the wrong position. This seems worse so I might revert this later.
  • Loading branch information
murraycu committed Nov 27, 2014
1 parent 3a2fec8 commit e596252
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/transition/change_image_transform.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<transitionSet xmlns:android="http://schemas.android.com/apk/res/android">
<changeBounds/>
<changeImageTransform/>
</transitionSet>

0 comments on commit e596252

Please sign in to comment.