title: How to create a TextSwitcher with Animation
body: <p>I wan to create a TextSwitcher with Animation Blink. 
  When it fades the text should be changed. 
  This is my Blink</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;alpha android:fromAlpha="0.0"
  android:toAlpha="1.0"
  android:interpolator="@android:anim/accelerate_interpolator"
  android:duration="2000"
  android:repeatMode="reverse"
  android:repeatCount="infinite"/&gt;
   &lt;/set&gt;
  </code></pre>
  
  <p>My Fragment which contains the TextSwitcher </p>
  
  <pre><code>private TextSwitcher Test ;
  
      public HomeFragment() {
      // Required empty public constructor
  }
  
  @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
  
      View rootView = inflater.inflate(R.layout.fragment_home, container, false);
          Test = (TextSwitcher)rootView.findViewById(R.id.TEST) ;
  
      Animation LeftSideAnimation = AnimationUtils.loadAnimation(getActivity(), R.anim.blink);
  
      Animation in = AnimationUtils.loadAnimation(getActivity(),R.anim.blink);
      Animation out = AnimationUtils.loadAnimation(getActivity(),R.anim.blink);
  
      Test.setInAnimation(in);
      Test.setOutAnimation(out);
  
  
  
      return rootView;
  }
  </code></pre>
  
  <p>My Fragment layout which has the part of the TextSwitcher I wrote it as the followings:</p>
  
  <pre><code> &lt;TextSwitcher
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/TEST"&gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Hello"
          android:textSize="20dp"
          /&gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="YES"
          android:textSize="20dp"/&gt;
  &lt;/TextSwitcher&gt;
  </code></pre>