Android Handler Periodically

前端 未结 3 730
清歌不尽
清歌不尽 2021-01-12 15:22

This I want I want to achieve:

  1. An activity starts with no ClickListener and has four textviews all with white background

  2. I want to change th

3条回答
  •  时光取名叫无心
    2021-01-12 15:42

    You can achieve this by creating Animation sequences, in either XML or Java code, and triggering them in sequence. You will need to define a animation sequence with LayoutAnimationController, at the end of the animation, you can add the ClickListener.

    Developer Life has a good tutorial to get you started on animations. Jeff has a two-part tutorial series on animations - part 1, part 2.

    Hope this helps, indyfromoz

提交回复
热议问题