commit | 28243367dfadd7933f4d1285587738b2bac1bd6f | [log] [tgz] |
---|---|---|
author | menghanli <menghanli@google.com> | Tue Apr 14 14:57:11 2020 +0800 |
committer | Menghan Li <menghanli@google.com> | Tue Apr 14 11:59:39 2020 +0000 |
tree | cc6670e10e16c439abfc5e67422da9f069795fcc | |
parent | 6585f7943934e23434965cb1bd6f6f80cefecdeb [diff] |
Fine tune the maganication area edit dialog Root cause: The asset is not rectangle, it is high > width asset. Called the centerCrop cause the both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). Solution: Change to fitCenter. Bug: 146473544 Test: local test Change-Id: I17de6a09f21e1454afcdd0297b81868c1b819de1