溢出textview而不重叠android中的视图组件

时间:2015-12-31 15:03:51

标签: android android-layout textview

我想在左边做一个textView,在右边做一个固定大小的图像,
当文本到达图像的末尾时,它应该开始溢出 我可以在android xml布局中实现它吗?

以下是一个例子:

dsadsadsadsadsadsa | ================
dsadsadsadsadsadsa | ================
dsadsadsadsadsadsa | ===某些图片==
dsadsadsadsadsadsa | ================
dsadsadsadsadsadsa | ================
dsadsadsadsadsadsadsadsadsadsadsadsa dsadsadsadsadsadsadsadsadsadsadsadsa dsadsadsadsadsadsadsadsadsadsadsadsa dsadsadsadsadsadsadsadsadsadsadsadsa

1 个答案:

答案 0 :(得分:1)

我认为这个库是你想要的:

https://github.com/JustinAngel/TextViewOverflowing