Recording a fragment or a view, output video
<p><strong><em>Scenario</em></strong></p>

<p>I have (an imageview and a videoview) or (something custom like a surfaceview and inside a photo to the left and to the right a video) inside a fragment and I need to output the fragment layout as a video, to join the photo and the video into a single video.</p>

<p><strong><em>Question</em></strong></p>

<p>I really don't know how to make this work, maybe to record the screen but is not proffesional. Maybe you can help me ? Some tutorials, ideeas or anything will be good.</p>

<p>Thanks.</p>