title: Fadein Only the Button Text in Android
body: <p>I used the following code to fade in only the <code>Button</code> Text. but it gives fadein for whole <code>Button</code>.</p>
  
  <pre><code>Animation animationFadeIn = AnimationUtils.loadAnimation(this, R.anim.fade_in);
  
  //register btn listener
      m_btn_register.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
  
              m_btn_register.startAnimation(animationFadeIn);
  
          }
      });
  </code></pre>
  
  <p><strong>fade_in.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"
  android:interpolator="@android:anim/linear_interpolator"&gt;
  &lt;alpha
      android:fromAlpha="0.1"
      android:toAlpha="1.0"
      android:duration="2000"
      /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>what is the correct way to acheive this?</p>