Skip to content
Commit 7c5b0fc9 authored by Aaron Liu's avatar Aaron Liu
Browse files

Fix view jumping up in the password disappear...

animation. The problem is that the edittext is not statically anchored
to the bottom, so when we start the disappear animation, the height of
the view increases to basically the full vertical size of the screen,
causing the jump.

The solution here is to prevent the bottom padding to be set in
onApplyWindowInsets. This means the viewfliper view will remain the same
size for the duration of the disapper animation and we use a y
translation animation and apply it to the security container for a
smooth transition.

Fixes: 268221346
Test: start disappear animation in password. Switch security method to
see that those work as well.
Test: Test animation with bouncer user switcher as well.

Change-Id: Id036bb10df79e4d357c00265507b43632d763a6b
parent 43e1ee6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment