Commit f2bc4500 authored by Diego Perez's avatar Diego Perez
Browse files

Add flag to scale layoutlib result image

If Studio allocates an image that it's smaller than the requested size
by layoutlib, layoutlib will now re-scale the image automatically to
fit. This allows for Studio to, in some cases, allocate less memory and
just ask layoutlib for an up-scaled version.

Bug: 79888276
Test: New test added
Change-Id: Id731bcab919de21622b02beb2607e5e2b1eb6ae1
(cherry picked from commit 1b23c9c5ac56f56e58980ecde5c6718a7df5dacd)
parent b77d81e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment