Added support for LinearLayout.
Added LinearLayout support.
Added listener for the dragging.