Fixed
Status Update
Comments
dn...@google.com <dn...@google.com>
dn...@google.com <dn...@google.com> #2
We have passed this defect on to the development team and will update this issue with more information as it becomes available.
zd...@obornik.cz <zd...@obornik.cz> #3
Same problem on 7.1.1 (Pixel)
ea...@gmail.com <ea...@gmail.com> #4
Same problem on 7.1.1 (Nexus 5X)
ch...@shopify.com <ch...@shopify.com> #5
Piggy backing on this with another sample project. Device is Nexus 5x on 7.1.2
https://github.com/see-mack/TransitionTest
It consists of 2 activities, each with a layout consisting of a textview and a button. The button on the first activity will launch the second activity and vice versa for the button on the second activity. The constructor for each activity sets a CYAN background and creates a Fade transition 500ms long that excludes the statusBarBackground and navigationBarBackground.
Hopefully you can see the gif and you'll see that the transition is pretty messed up. It doesn't seem like a fancy transition and I *think* I got all the setup right so it doesn't seem right that the animation is so broken.
It consists of 2 activities, each with a layout consisting of a textview and a button. The button on the first activity will launch the second activity and vice versa for the button on the second activity. The constructor for each activity sets a CYAN background and creates a Fade transition 500ms long that excludes the statusBarBackground and navigationBarBackground.
Hopefully you can see the gif and you'll see that the transition is pretty messed up. It doesn't seem like a fancy transition and I *think* I got all the setup right so it doesn't seem right that the animation is so broken.
dn...@google.com <dn...@google.com> #6
The development team has fixed the issue that you have reported and it will be available in a future build.
mh...@gmail.com <mh...@gmail.com> #7
I encountered the same issue while working on Scene Transition Animation and I can assure that this issue is not solved.
I also noticed that not just the statusbar blinks to white but also the whole activity background is set to white. Whereas I have set the activity to be transparent and it's set to transparent when no Scene Transition Animation is defined.
I have attached a video that demo the issue.
Device: Nexus 6p
Android version: 8.1.0
Support library version: 27.1.0
I also noticed that not just the statusbar blinks to white but also the whole activity background is set to white. Whereas I have set the activity to be transparent and it's set to transparent when no Scene Transition Animation is defined.
I have attached a video that demo the issue.
Device: Nexus 6p
Android version: 8.1.0
Support library version: 27.1.0
mh...@gmail.com <mh...@gmail.com> #8
Seems the issue is happening on Nexus and Pixel devices, while not happening on Samsung or other devices.
Description
Android version: 7.1.2
Support library version: 25.2.0
It seems that the statusBar and navBar are not being excluded for transitions running on 7.1.2 when created and assigned programmatically in activities. The statusBar and navBar flash or blink. See attached video.
If the transition is created via xm, excludes the statusBar and navBar and is then assigned via a theme in the AndroidManifest, it seems only the renter transition seems to fail to exclude them.
I've tested the exact same scenarios on a device running 6.0.1 and had no issues whatsoever.
I also can't seem to get hold of the statusBar or navBar through an Activity, which i've been able to do successfully before, though I'm unsure if this is related. The code looks like below, called in an Activities onCreate.
View statusBar = findViewById(android.R.id.statusBarBackground);
View navigationBar = findViewById(android.R.id.navigationBarBackground);
A project reproducing this issue can be found here:
Steps to reproduce programmatic issue
1. Open project
2. Run project on above device with version
3. Press "Flash Fix Activity" button
4. Press "Tiger" button
5. Notice status bar and nav bar both "flash" or "blink" when entering "FlashFixActivityB"
6. Press back button
7. Notice status bar and nav bar both "flash" or "blink" when re-entering "FlashFixActivityA"
Steps to reproduce xml issue
1. Open project
2. Comment out fade transition in both "FlashFixActivityA" and "FlashFixActivityB"
3. Add "android:theme="@style/AppTheme.DefaultActivity" to both "FlashFixActivityA" and "FlashFixActivityB" in the manifest
4. Run project on above device with version
3. Press "Flash Fix Activity" button
4. Press "Tiger" button
5. Notice status bar and nav bar both "flash" or "blink" when entering "FlashFixActivityB"
6. Press back button
7. Notice status bar and nav bar both "flash" or "blink" when re-entering "FlashFixActivityA"