commit | 5cc47e5383a472c96a4f6f029c5a4d41ab29b3d8 | [log] [tgz] |
---|---|---|
author | Matt Casey <mrcasey@google.com> | Sat Mar 20 17:11:14 2021 -0400 |
committer | Matt Casey <mrcasey@google.com> | Sat Mar 20 17:11:14 2021 -0400 |
tree | b0f85fd52abe42dfd2d528785bcbce6db404b61e | |
parent | 4062430f8baae9eae108c261959aaacd90912a43 [diff] |
Fix CropView sizing on full-width images Full width images happen when the long screenshot isn't particularly long, typically an error case. - Ensure that ImageView and CropView take up the whole space defined by constraints. - Set padding on ImageView, factor that padding into the image size computation for CropView. Bug: 183278746 Test: Validate correct crop bounds display on a full height and a full width long screenshot. Change-Id: I0f71ddc051f8cf6d295a348fe3cae3cbe00e4077