As you know, nine-patch image contain the information that how the content aligned. So how does android get the padding of the content. I just can't find the corresponding code in framework. Thanks
http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch
The left and top guidelines tell the framework what can be stretched, the right and bottom guidelines tell it which rows and columns are padding (actually, the area where the inner content can go).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With