Skip to content
Commit 37d6b6d5 authored by Matt Casey's avatar Matt Casey
Browse files

Make CropView handle images that aren't full-height

Compute the ImageView's extra top and bottom padding when it gets a
drawable or does layout, pass that information to CropView to adjust
its boundaries accordingly.

Also give MagnifierView some elevation so it doesn't get obscured by the
buttons.

Bug: 180967209
Test: Take a long screenshot at the top of the settings app, observe
    that the image isn't full height, ensure that crop handles properly
    honor image bounds and those bounds are honored on export as well.
Change-Id: Iac859995b362724a0db00b666a6ff970a0ccba1d
parent e4aa751d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment