Q:

Create custom background android like this chat shape

**How to achieve this ** i tried 9 patch there i cant make this and no direct one available

A:

This is a job for 9-patch images.
Here is one of many examples with a gradient background.

The expander bars above, below, and to the sides of your image control where the image stretching can occur and where the text padding lies.
Here is how to keep the callout in an arbitrary location of the image:

Here is an interactive online tool for drawing the expanders and downloading the result once you find or finish creating your gradient/callout image: http://draw9patch.com

