Android custom textview like whats app [closed]

You need to create a background image with 9-patch tool, in such a way that the display text would be fit in well and also you need to take care of inner paddings.


Including my comment about why we can’t use simple background image?

We can obviously use the simple background but only when you know the size of device in which your application are going to use “only”, but in android no one can be sure about the size as it’s coming into the variety of resolutions and display sizes. So if you would want to provide the image compatibility to all the sizes and resolutions then prepare such background using 9-patch tool

Leave a Comment