material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[MaterialContainerTransform] View to Activity transition uses incorrect activity position if app is launched in multiwindow mode and placed at the bottom of split screen

Open ArturSechko opened this issue 4 years ago • 2 comments

Description: View to Activity transition uses incorrect start and end activity position. On enter transition new activity comes from the top of the app window and goes there on exit. Works only if app placed at the bottom of the screen.

Expected behavior: Activity transition should work the same in multiwindow mode as in fullscreen.

Source code: Reproduced in catalog app.

Android API version: Checked on API 26 and 29

Material Library version: Tested on 1.2.0-alpha06 and 1.3.0-alpha01

Device: Emulators and real devices.

Video from emulator running catalog app. You can see both cases with activity animation works incorrectly while fragment one is good: https://drive.google.com/file/d/1BIilNsiE4qvF6CGC9dRoI27XtOkAbTru/view?usp=sharing

ArturSechko avatar Jul 11 '20 14:07 ArturSechko

Hey @ArturSechko. Thanks for reporting this! I'll have a look and see if this is something we're able to address

hunterstich avatar Jul 13 '20 10:07 hunterstich

hello ,Is there a solution to this problem ? I had the same problem

dengzhao7053 avatar Sep 01 '22 13:09 dengzhao7053