Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Button] Fix the issue that button state is not updated
On Lollipop, when first assigned as View's background, RippleDrawable won't/can't propagate states to its content drawable. This causes the issue that the state relevant features like stroke colors are not correctly updated when the background is recreated. Explicitly assigns states to the content drawable to fix the issue. Resolves #1422 PiperOrigin-RevId: 442676637
- Loading branch information