Fix some versioning issues with the Download Home v2 UI
The CircularProgressView button was built using View#setForeground(), which is unavailable on early versions of Android. This patch addresses that by adding a helper class that can give a View setForeground-like support. This patch also adds an AutoAminatorDrawable, which will start and stop Drawable animations when the Drawable is visible or not. BUG=868554 Change-Id: I4a11921962aeac9dcee701f7e3584ba70ac96def Reviewed-on: https://chromium-review.googlesource.com/1231295Reviewed-by:Shakti Sahu <shaktisahu@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#593559}
Showing
Please register or sign in to comment