Where does the android install the add-on for the nine-patch image?

As you know, a nine-patch image contains information on how to align content. So, how does android get content filling. I just can't find the appropriate code in the framework. Thanks

+4
source share
1 answer

http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch

The left and top manuals indicate the structure that can be stretched, the right and lower recommendations indicate which rows and columns are filled (in fact, the area in which the internal content can be located).

+8
source

Source: https://habr.com/ru/post/1394099/


All Articles