use layout.xml instead of programatically to handle the view layout stuff.
can record video, but the decoration view can not show the motion rect.