Provide an alignment option in RoundedImageView
This CL provides an alignment option in RoundedImageView to specify which portion of the image should be drawn. It's useful when the image's size is greater than the view's. Bug: 1133020 Change-Id: I923f4fcb763b8a1c17a18471148264ef21f7ed73 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443492 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#812914}
Showing
Please register or sign in to comment