ViewDragHelper - Child layout changes ignored while dragging
<p>I'm trying to apply margin updates or animations to a child view which parent is dragged using a <code>ViewDragHelper</code>.</p>

<p>However the updated layout properties have no effect and are not rendered while the view is dragged. Everything from adding and removing views, to layout animations or layout param updates are ignored while dragging:</p>

<p>To illustrate this issue, i've created a delayed runnable which updates the height of a view (the green view) after 3 seconds:</p>

<pre><code>spacer.postDelayed(new Runnable() {
     @Override
     public void run() {
          Log.d(TAG,"set layout params!!!!");
          ViewGroup.LayoutParams spacerParams = spacer.getLayoutParams();
          spacerParams.height = (int) (200+(Math.random()*200));
          spacer.setLayoutParams(spacerParams);
     }
},3000);
</code></pre>

<p>Check this demo screen recording:
<a href="http://imgur.com/a/dDiGt">http://imgur.com/a/dDiGt</a></p>