commit | 4750e1cdf2158de3d76cbbbe9b8d159683caa3a0 | [log] [tgz] |
---|---|---|
author | Jerome Gaillard <jgaillard@google.com> | Mon Apr 04 15:44:28 2022 +0100 |
committer | Jerome Gaillard <jgaillard@google.com> | Tue Feb 07 18:20:01 2023 +0000 |
tree | 4366f4b6ccb091588109780ed73d1080713d9576 | |
parent | 10dc413ae175bc1c48e963f8cabfc47f4c344561 [diff] |
Use correct padding for nine-patch drawables Nine-patch drawables have their padding defined as part of the nine patch chunk. This correctly extracts the padding from the chunk and sets it to the drawable. Bug: 195737352 Test: Updated layoutlib tests Change-Id: I2412b59c905cdb9de2247ae5fe5cdbcfcd6bb79f (cherry picked from commit 6af69b033acb84fd5c61b7aa98b65bd7249f4077) Merged-In: I2412b59c905cdb9de2247ae5fe5cdbcfcd6bb79f