mSwitcher animation (fade)
<p>I've this code with animation, problem: when I press a button (x++) I see a text invisible, click again I see correct text, click again invisible text, ecc. How resolve it?</p>

<pre><code>mSwitcher = (TextSwitcher) findViewById(R.id.switcher);
      mSwitcher.setFactory(this);

      Animation in = AnimationUtils.loadAnimation(this,
              android.R.anim.fade_in);
      Animation out = AnimationUtils.loadAnimation(this,
              android.R.anim.fade_out);
      mSwitcher.setInAnimation(in);
      mSwitcher.setOutAnimation(out);

mSwitcher.setText(""+prog[x]);
</code></pre>
