How to stop textview field from flashing when clicked
<p>I'm creating a timer application for my android.  It counts down from a specified time (i.e. 8 minutes) to 0.</p>

<p>I have coded it that when the app starts it shows the specified time.  When you click on the <code>TextView</code> displaying the time it starts the count down updating the <code>TextView</code> at the <code>onTick()</code> event.  When you click on the <code>TextView</code> again it will stop the countdown and save the remaining milliseconds to resume when the <code>TextView</code> is clicked the next time (essentially pausing the clock).</p>

<p>Everything works as expected.  However, when the <code>TextView</code> is clicked it disappears until the click is released.  If I hold the click down for 3 seconds then the <code>TextView</code> totally disappears while it is being held and reappears as soon as it is released.</p>

<p>How can I stop this behavior to continue to show the value of the <code>TextView</code> the whole time?</p>

<p>EDIT:</p>

<pre><code>    tvPeriod.setOnLongClickListener( new View.OnLongClickListener() {           
        @Override
        public boolean onLongClick(View v) {
            valPeriod = 1;
            tvPeriod.setText( tvPeriodPrefix + "1" );

            return true;
        }
    });
</code></pre>
