title: Scale animation - How to stop child view animation
body: <p>I have a layout(parent view) and a textview(child view) inside this layout. Applying scale animation on parent view but when scale animation is applied to parent view its child view also scales.Is there any way to stop child from animation ? Including the code</p>
  
  <p>Layout File </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/main_layout"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  tools:context="com.tfg.social.MainActivity$PlaceholderFragment" &gt;
  
  &lt;FrameLayout
      android:id="@+id/top_layout"
      android:layout_width="match_parent"
      android:layout_height="100dp"
  
      android:layout_gravity="center"
      android:background="#ffff00"
      android:orientation="horizontal" &gt;
  
      &lt;TextView
          android:id="@+id/textView1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:layout_gravity="center"
          android:text="Top Layout"
          android:background="#000000"
          android:adjustViewBounds="true"
          android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>Animation method</p>
  
  <pre><code>protected void expandLayout(View view) {
      ObjectAnimator scaleUpY = ObjectAnimator.ofFloat(view, "scaleY", 5f);
      scaleUpY.setDuration(1000);
      AnimatorSet scaleAnimation = new AnimatorSet();
      scaleAnimation.play(scaleUpY);
      scaleAnimation.start();
  
  }
  </code></pre>