Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个小部件来显示一些长文本。我希望这个文本有“选框”效果。我已经设置了 TextView 属性 ellipsize="marquee" 但它不起作用。任何想法?
编辑:例如 HTC 的股票小部件
只有在被选中或者是被选中的父级 IIRC 的子级时才会marquee看到效果。TextView
marquee
TextView