I want to set this textview:
<TextView
android:id="@+id/timer"
android:layout_width="100dp"
android:layout_height="30dp"
android:layout_above="@+id/directions"/>
To be a timer. So the text should be a timer going like 0:30 then 0:29 ... for 30 seconds. Once timer is 0:00, I can call another method; I can print out "try again" and restart timer.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…