Alexander Sitnikov
10/22/2020, 5:53 PMlike this▾
Modifier.drawLayer(rotationY = someValue)
, but this animation looks too distorted (like this▾
setCameraDistance()
method, and RenderNode has this method too, but Compose doesn't use any of them. It seems to me that rotationY
parameter is kinda useless without camera distance. Is there any way to create this card flip animation other than drawLayer
? Or maybe there's plans to include support for camera distance in future versions of Compose?Leland Richardson [G]
10/22/2020, 5:54 PMromainguy
10/22/2020, 5:56 PMHalil Ozercan
10/22/2020, 5:57 PMCamera distance would help but only to a certain pointI was also going to say the same thing. Maybe scaling the view while also doing the animation help but not sure about that either
romainguy
10/22/2020, 5:57 PMZach Klippenstein (he/him) [MOD]
10/22/2020, 5:58 PMHalil Ozercan
10/22/2020, 5:58 PMZach Klippenstein (he/him) [MOD]
10/22/2020, 5:58 PMhttps://github.com/zach-klippenstein/compose-backstack/raw/main/.images/inspector.gif▾
romainguy
10/22/2020, 5:59 PMAlexander Sitnikov
10/22/2020, 6:28 PMromainguy
10/22/2020, 7:47 PMSergey Y.
10/22/2020, 8:02 PMAlexander Sitnikov
10/22/2020, 8:43 PMromainguy
10/22/2020, 9:27 PMNader Jawad
11/04/2020, 3:11 AMromainguy
11/04/2020, 4:48 AM