nine patch image stretch two border result

Android Nine Patch Image Example

When you want to use an image as a view object background, for example, you need to use a bubble chat image as a chat app text message background, you can find that the text message maybe stretch the background image unwanted as below.