android / socialite

Apache License 2.0
385 stars 68 forks source link

modify predictive back in-app animation #45

Closed ashnohe closed 6 months ago

ashnohe commented 6 months ago

Modify the predictive back in-app animation. Video.

Is there a better way to ensure rounded corners while transitioning back? In this PR I've added 5% rounded corners to the entire ChatScreen.

riggaroo commented 6 months ago

You could take the value of the predictive back gesture, and use that to control how much of the percentage should be applied to the RoundedCorners value.