commit | ec4a50428d5f26a22df3edaf7e5b08f41d5cb54b | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Wed Apr 04 10:27:15 2012 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Wed Apr 04 12:05:59 2012 -0700 |
tree | cd47b15082ff35879cf6e22a86f44108f45920aa | |
parent | 58a40a3e92f8a53ac1068f0839dec4a1707fa6fb [diff] |
Embed layout padding in nine patch images - Added a new custom PNG chunk that carries the layout padding ints. - Extract the padding ticks from .9.png images and store in the chunk. - Load the padding information at runtime into Bitmap and NinePatchDrawable. - The new chunk is ordered first so that it doesn't cause a problem in older versions of the platform. Bug: 6087201 Change-Id: I5de46167a1d44b3ec21065b0c165e594b1dc8399