Android 9-Patch images edit

Optional padding lines

Nine-patch images allow optional definition of the padding lines in the image. The padding lines are the lines on the right and at the bottom.

If a View sets the 9-patch image as its background, the padding lines are used to define the space for the View’s content (e.g. the text input in an EditText). If the padding lines are not defined, the left and top lines are used instead.

The content area of the stretched image then looks like this:

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents
25 9-Patch images
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close