自定义可扩展TextView [英] Custom Expandable TextView
本文介绍了自定义可扩展TextView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图创建具有扩展/折叠功能的自定义TextView.
I was trying to create a Custom TextView with the expand/collapse capability.
有人对扩展TextView和覆盖onDraw方法有什么想法吗? (或其他更好的方法)?
Does anyone have any idea about how to achieve this, extending TextView and overriding onDraw method?? (or any other better approach) ?
非常感谢!
推荐答案
最后,我自己完成了任务,这里是存储库
Finally I did it my self, here is the repo
https://github.com/CorradiSebastian/ExpandableTextView
这篇关于自定义可扩展TextView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文