Remove call to hidden suppressLayout()
suppressLayout was previously called as a work around for using BoundsChange. BoundsChange is designed for animations without layout changes. Two changes are need to to avoid using suppressLayout 1. Don't use the BoundsChange Transition when collapsing the card. This animation involves an unavoidable layout change. 2. Don't allow user interaction during the expand animation. User interaction can cause layout changes during the animation. Discussion: The Transition API designers think that BoundsChange should never be used with layout changes (go/bounds-change-no-layout-change). Bug: 18777272 Change-Id: Ie09cc8063f81ca451c00289b5d7b5a39886b0c27
Loading
Please register or sign in to comment