Basic rounded corners

suggest change

The key to correctly stretching is in the top and left border.

The top border controls horizontal stretching and the left border controls vertical stretching.

This example creates rounded corners suitable for a Toast.

The parts of the image that are below the top border and to the right of the left border will expand to fill all unused space.

This example will stretch to all combinations of sizes, as shown below:

Feedback about page:

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


9-Patch images:
*Basic rounded corners

Table Of Contents
249-Patch images
169XMPP
230AIDL
242Okio