Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Although your question is very general and vague, I'll try to answer it:</p> <p>To "pause" your Activity, there are several possibilities. If it doesn't have to react on user input, but just execute a specific method after a specific amount of time, I would recommend to use <a href="http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/api/java/util/TimerTask.html" rel="nofollow noreferrer">TimerTask</a> in combination with <a href="http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/api/java/util/Timer.html" rel="nofollow noreferrer">Timer</a>. For an explanation of how this works you can use <a href="http://life.csu.edu.au/java-tut/essential/threads/timer.html" rel="nofollow noreferrer">this reference</a>.</p> <p>To set new values to a TextView (assuming that new values means a new text to display), you should use the method <a href="http://developer.android.com/reference/android/widget/TextView.html#setText%28java.lang.CharSequence%29" rel="nofollow noreferrer">TextView.setText(...)</a>. To hide/unhide a TextView, you could use the method <a href="http://developer.android.com/reference/android/view/View.html#setVisibility%28int%29" rel="nofollow noreferrer">setVisibility(...)</a>. To make a TextView white (assuming that you're talking of the TextView background) you can use the method <a href="http://developer.android.com/reference/android/view/View.html#setBackgroundColor%28int%29" rel="nofollow noreferrer">setBackgroundColor(...)</a>.</p> <p>I hope this will help you. If you have any questions, you have to provide us with code and more detailed questions.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload