Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85900298 authored by Mathew Inwood's avatar Mathew Inwood
Browse files

Take account of bounds set on drag drawables.

If bounds are set on a compound drawable in a textview, drawing it into a
bitmap set to the intrinsic size of the drawable results in it being scaled
down in the top corner. Scaling it down again into the grid icon size then
gives a tiny icon.

Use the drawable bounds if any are set, otherwise use the intrinsic size.

Bug: 14103508
Change-Id: Idadd7bb891dc33d092eb9ceb3025b9a5d9e1bfd8
parent 1a1fdf41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment