Android development toggling TextView visibility
<p>Im having some trouble with setting textview to invisible/visible.</p>

<p>basicly i want this to happen when an on/off button has been clicked.</p>

<p>what i did is kind of like</p>

<pre><code>textview.setVisibility(TextView.VISIBLE);
textview.setVisibility(TextView.INVISIBLE);
</code></pre>

<p>when i try executing this the emultor says that the app has stopped unexcpetedly</p>
