commit | 8e6e2dc689ed1e922ec4256ba80bbd0f34dd20cc | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Thu Jun 02 16:30:35 2016 -0700 |
committer | Aurimas Liutikas <aurimas@google.com> | Thu Jun 02 16:33:43 2016 -0700 |
tree | 124412335dafe214b34174021ac4b0b1e7a5ed8f | |
parent | 3ecb7dffc87c474dd8f124e7b5d34ccaaa88c182 [diff] |
Start handling CircleImageView resizing on pre API-21 CircleImageView uses internal OvalShadow class for pre API-21 devices. OvalShadow size was hardcoded and did not update based on CircleImageView size like it does on API 21+. This CL makes OvalShadow listen to onResize events and handle size changes correctly. SwipeRefreshLayout resizes CircleImageView when you call setSize and that was causing visual issues. Bug: 29106323 Change-Id: I0b333d43dd49d15f01c53f2d4fcf2fd2013d0f3c