简体   繁体   English

Android:TextView中的ImageSpan

[英]Android: ImageSpan in TextView

我将一个imagepan放在一个文本视图中,我想获取textview的内容(包括图像)。

I don't understand what you means including the images... imageSpan will not replace the text, if you use the method getText() you still will get the text you set up before(or client set up ), and if you want to show it, just use imageSpan agin, that's it. 我不明白您的意思是包括图像... imageSpan不会替换文本,如果您使用方法getText(),您仍然会得到之前设置的文本(或客户端设置的),如果需要要显示它,只需使用imageSpan agin即可。 and my english is not very well... so if you confuse about what i say, i just can say i am sorry about it 我的英语不太好...所以,如果您对我所说的感到困惑,我只能说我很抱歉

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM