title: Changing width from RelativeLayout not affect children
body: <p><strong>My code</strong></p>
  
  <pre><code>&lt;RelativeLayout
      android:id="@+id/leftSelectorView"
      android:layout_width="50dp"
      android:layout_height="match_parent"&gt;
  
      &lt;View
          android:id="@+id/grayBgLeft"
          android:focusableInTouchMode="false"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="#bf484349" /&gt;
  
      &lt;RelativeLayout
          android:id="@+id/leftBorderView"
          android:layout_marginLeft="20dp"
          android:layout_width="30dp"
          android:layout_height="match_parent"&gt;
  
          &lt;ImageView
              android:id="@+id/boxLeft"
              android:focusableInTouchMode="false"
              android:layout_marginLeft="15dp"
              android:layout_width="15dp"
              android:layout_height="match_parent"
              android:src="@mipmap/box_selector"
              android:scaleType="fitXY" /&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>i'm moving the <code>leftSelectorView</code> width <strong><em><code>programmatically</code></em></strong> </p>
  
  <pre><code>leftSelectorView.getLayoutParams().width = 150;
  </code></pre>
  
  <p>and the <code>View</code> child is not affected.</p>
  
  <blockquote>
    <p>If i have a <code>child</code> inside <code>RelativeLayout</code> with <code>match_parent</code> in width and modify the width from <code>RelativeLayout</code>, how can update the width of <code>child</code>?</p>
  </blockquote>
  
  <p>Using the <code>requestLayout</code> now update al childrens. (Thanks to <strong><em>@FunkTheMonk</em></strong>)</p>
  
  <blockquote>
    <p>Now another problem has arisen with this. The RelativeLayout I'm trying to move, takes a few jumps as if sometimes take the new position and then the old position</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code>leftBorderView.setOnTouchListener(new View.OnTouchListener() {
              @Override
              public boolean onTouch(View v, MotionEvent event) {
                  detector.onTouchEvent(event);
  
                  if (event.getAction() == MotionEvent.ACTION_MOVE) {
  
                      int xMove = (int) event.getX();
                      Log.e("onTouch", "xMove===&gt; " + xMove);
  
                      int widthMove = xMove &lt; 50 ? 50 : 50 + xMove;
  
                      RelativeLayout.LayoutParams parms = new RelativeLayout.LayoutParams(widthMove, ViewGroup.LayoutParams.MATCH_PARENT);
                      leftSelectorView.setLayoutParams(parms);
                      grayBgLeft.requestLayout();
  
                  }
  
                  return true;
              }
          });
  </code></pre>