非矩形的TextView矩形、TextView

2023-09-07 22:42:41 作者:无风无雨也无情

我试图寻找解决的办法,但我找不到任何的排序。

I tried searching for a solution, but I couldn't find anything of the sort.

我的追求是:是否有可能有一个非矩形的TextView ?我需要把一个TextView和一个片段内的ImageView的。

My quest is: is it possible to have a non-rectangular TextView? I need to put a TextView and an ImageView inside a fragment.

看起来是这样的:

Would look something like this:

我在想,也许有两个TextViews(可以称他们为TV1和TV2)和ImageView的(IMG1)。 我可以对准TV1到IMG1的底部,并对准TV2的顶部IMG1。与在TextViews文字莫名其妙地发挥它在这两个TextViews拆?

I was thinking of maybe having two TextViews (lets call them tv1 and tv2) and an ImageView (Img1). I could align the tv1 to the bottom of img1 and align the top of tv2 with img1. SOMEHOW play with the text in the TextViews to split it in both TextViews?

推荐答案

流量的TextView将有助于获得了这幅你想要什么。这里有几个链接

Flow textview will help to acheive what you want. Here are the few links

的http://grishma102.blogspot.in/2013/12/how-to-make-text-flow-around-images-in.html

的https://$c$c.google.com/p/android -flowtextview /