Obsolete
Status Update
Comments
ar...@google.com <ar...@google.com> #2
Can you please provide the below requested information to better understand the issue:
Steps to reproduce
Please provide the steps to be followed for reproducing the issue with the given sample application.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
Could you please explain the expected behavior.
Current output
Could you please explain the current behavior.
Steps to reproduce
Please provide the steps to be followed for reproducing the issue with the given sample application.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
Could you please explain the expected behavior.
Current output
Could you please explain the current behavior.
ar...@google.com <ar...@google.com> #3
Please provide the information requested in comment #2 to investigate the issue further.
ce...@gmail.com <ce...@gmail.com> #4
Steps to reproduce
1. Build and run the sample application (https://drive.google.com/file/d/0BzzMYfCAYzn4bHpqWGhKbV81cU0/view?usp=sharing )
2. A list of "Hello world!" with different colors appears.
3. Tapping the list uses the above mentioned design pattern to transition to a new fragment with the list where the order of items is inverted
Frequency
100% of the time
Expected output
A shared element transition animation should animate the tapped text item so that it translates to a new position in the new fragment.
Current output
The transition animation does not work with the Android API. However, it does work if V4 support library is used (the modified sample application with support library where the animation works can be downloaded here:https://drive.google.com/file/d/0B5UiL525C78tQ1BmSlRoMG4yeE0/view?usp=sharing ). The Android API classes are replaced by android.support.v4.app.Fragment, FragmentManager and FragmentActivity
This is a GIF showing how the animation should look like (works with the support library):https://drive.google.com/file/d/0B5UiL525C78tN1lUeU1MREtqM2s/view?usp=sharing
1. Build and run the sample application (
2. A list of "Hello world!" with different colors appears.
3. Tapping the list uses the above mentioned design pattern to transition to a new fragment with the list where the order of items is inverted
Frequency
100% of the time
Expected output
A shared element transition animation should animate the tapped text item so that it translates to a new position in the new fragment.
Current output
The transition animation does not work with the Android API. However, it does work if V4 support library is used (the modified sample application with support library where the animation works can be downloaded here:
This is a GIF showing how the animation should look like (works with the support library):
ce...@gmail.com <ce...@gmail.com> #5
Sorry I didn't realize the original sample app uses support library, so here is the correct version:
Steps to reproduce
1. Build and run the modified sample application which uses the original Android API (https://drive.google.com/open?id=0B5UiL525C78tV0E2ZlFHcFh3ZXM )
2. A list of "Hello world!" with different colors appears.
3. Tapping the list uses the above mentioned design pattern to transition to a new fragment with the list where the order of items is inverted
Frequency
100% of the time
Expected output
A shared element transition animation should animate the tapped text item so that it translates to a new position in the new fragment.
Current output
The transition animation does not work with the Android API. However, it does work if V4 support library is used (the original sample application with support library where the animation works can be downloaded here:https://drive.google.com/file/d/0BzzMYfCAYzn4bHpqWGhKbV81cU0/view?usp=sharing ). It uses android.support.v4.app.Fragment, FragmentManager and FragmentActivity instead of the standard Android API classes.
This is a GIF showing how the animation should look like (works with the support library):https://drive.google.com/file/d/0B5UiL525C78tN1lUeU1MREtqM2s/view?usp=sharing
Steps to reproduce
1. Build and run the modified sample application which uses the original Android API (
2. A list of "Hello world!" with different colors appears.
3. Tapping the list uses the above mentioned design pattern to transition to a new fragment with the list where the order of items is inverted
Frequency
100% of the time
Expected output
A shared element transition animation should animate the tapped text item so that it translates to a new position in the new fragment.
Current output
The transition animation does not work with the Android API. However, it does work if V4 support library is used (the original sample application with support library where the animation works can be downloaded here:
This is a GIF showing how the animation should look like (works with the support library):
ar...@google.com <ar...@google.com> #6
This issue is reproducible on Android N N2G47Z build on Nexus 5X.
However this issue is not reproducible on Android O Developer Preview 4(OPP4.170623.014) build.
However this issue is not reproducible on Android O Developer Preview 4(OPP4.170623.014) build.
Description
Transaction 1
- add B,
- hide B
Transition 2: when B is ready
- show B
- remove A
- add shared elements
- add to back stack
This all works well with AppCompatActivity and app.support.v4.Fragment. However, if I use the standard non-support Activity and Fragment, this does NOT work (I tested in Android 7.0 with nVidia SHIELD Tablet K1). This can be easily verified by running the following project, then changing support Activity and Fragment to the standard ones.
I assume the correct behavior is that the standard APIs which support the shared elements behave in the same way as the support library.