开发者

How to stretch Layout background Image as per child content?

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

How to stretch Layout background Image as per child content?

with image..

How to stretch Layout background Image as per child content?

wthout image

How to stretch Layout background Image as per child content?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜