I want to stretch layout background image as per child's content. I am using relative layout and set bubble image as its background. In that relative layout i ha开发者_如何学JAVAve add ImageView and TextView as child. some content of textview or image size is bigger then bubble image.
How can i fix it?
Thank you in advance.....
Here is my bubble image
with image.. wthout image original bubble image..You should convert that image to a 9 patch. Android system takes care of stretching the 9 patch images depending on the stretchable regions you define on it.
精彩评论