在文本视图文本的第一次旋转后得到通知中的Andr​​oid(ellipsize ="字幕&QUOT)文本、视图、字幕、通知

由网友(姑娘眼⊥可不小哟)分享简介:我有什么:我有Ellipsize =跑马灯一个TextView。 TextView的的重点是真实的,这样我就不必手动对焦它,启动文本旋转。 What I have: I have a TextView with Ellipsize = Marquee. The textview's focus is true, s...

我有什么:我有Ellipsize =跑马灯一个TextView。 TextView的的重点是真实的,这样我就不必手动对焦它,启动文本旋转。

What I have: I have a TextView with Ellipsize = Marquee. The textview's focus is true, so that I don't have to focus it manually, to start the text rotation.

我要什么:我想要做一些操作,当文本的第一个旋转完成。例如我想说明一个烤面包或改变的TextView的文本。有没有像一个事件的任何旋转后升起,起动文本旋转的第二个周期之前。

What I want: I want to do some operation when the 1st rotation of the text is complete. e.g. I want to show a toast or change the text of the textview. Is there anything like an event is raised after the rotation, before starting the 2nd cycle of text rotation.

有什么问题:我无法弄清楚如何获得通知时的TextView文本的第一旋转完成

What is the problem: I cant figure out on how to get notified when the first rotation of the text in TextView is complete.

推荐答案

我做了一个自定义的字幕,并当字幕结束,我可以得到一个通知。

I made a custom marquee and when that marquee ends I can get a notification.

Here,我已经回答了我的问题这个人之前,因为这两个问题是相关的。

Here, I have answered my own question before this one, as these two question were related.

阅读全文

相关推荐

最新文章