title: How can I scale textView inside parent view with motion layout?
body: <p>I'm trying to scale a textView inside a container view. Activity uses a motion layout. I can scale the textView if I don't place it inside the container. Here is my activity layout and the motion layout description file. How can I make scaleX and scaleY work?</p>
  
  <p>Activity Layout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.constraint.motion.MotionLayout xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/motionLayout"
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      app:layoutDescription="@xml/motion_scene_text_size"&gt;
  
      &lt;View
          android:id="@+id/button"
          android:layout_width="64dp"
          android:layout_height="64dp"
          android:background="@color/colorAccent"
          android:text="Button" /&gt;
  
      &lt;android.support.constraint.ConstraintLayout
          android:id="@+id/container"
          android:layout_width="100dp"
          android:layout_height="100dp"
          android:layout_marginTop="100dp"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent"&gt;
  
          &lt;TextView
              android:id="@+id/textView"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="TextView"
              android:textSize="20sp"
              app:layout_constraintBottom_toBottomOf="parent"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent" /&gt;
  
      &lt;/android.support.constraint.ConstraintLayout&gt;
  
  &lt;/android.support.constraint.motion.MotionLayout&gt;
  </code></pre>
  
  <p>Motion scene</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:motion="http://schemas.android.com/apk/res-auto"&gt;
  
      &lt;Transition
          motion:constraintSetStart="@+id/start"
          motion:constraintSetEnd="@+id/end"
          motion:duration="1000"&gt;
          &lt;OnSwipe
              motion:touchAnchorId="@+id/button"
              motion:touchAnchorSide="right"
              motion:dragDirection="dragRight" /&gt;
      &lt;/Transition&gt;
  
      &lt;ConstraintSet android:id="@+id/start"&gt;
          &lt;Constraint
              android:id="@id/button"
              android:layout_width="64dp"
              android:layout_height="64dp"
              android:layout_marginStart="8dp"
              motion:layout_constraintBottom_toBottomOf="parent"
              motion:layout_constraintStart_toStartOf="parent"
              motion:layout_constraintTop_toTopOf="parent" /&gt;
  
          &lt;Constraint
              android:id="@id/textView"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="TextView"
              android:textSize="20sp"
              android:scaleX="1.0"
              android:scaleY="1.0"
              motion:layout_constraintBottom_toBottomOf="parent"
              motion:layout_constraintEnd_toEndOf="parent"
              motion:layout_constraintStart_toStartOf="parent"
              motion:layout_constraintTop_toTopOf="parent" /&gt;
  
      &lt;/ConstraintSet&gt;
  
      &lt;ConstraintSet android:id="@+id/end"&gt;
          &lt;Constraint
              android:id="@id/button"
              android:layout_width="64dp"
              android:layout_height="64dp"
              android:layout_marginEnd="8dp"
              motion:layout_constraintBottom_toBottomOf="parent"
              motion:layout_constraintEnd_toEndOf="parent"
              motion:layout_constraintTop_toTopOf="parent" /&gt;
  
          &lt;Constraint
              android:id="@id/textView"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="TextView"
              android:textSize="20sp"
              android:scaleX="2.0"
              android:scaleY="2.0"
              motion:layout_constraintBottom_toBottomOf="parent"
              motion:layout_constraintEnd_toEndOf="parent"
              motion:layout_constraintStart_toStartOf="parent"
              motion:layout_constraintTop_toTopOf="parent" /&gt;
  
      &lt;/ConstraintSet&gt;
  
  &lt;/MotionScene&gt;
  </code></pre>