     surface))
 
 (defn camera-view [activity instruction]
-  (on-ui
-      (replace-view! activity
-                     (make-ui activity
-                              [:linear-layout {:background-color Color/BLACK
-                                               :gravity Gravity/CENTER}
-                               (create-preview-surface activity
-                                                       (get instruction :camera)
-                                                       (get instruction :from)
-                                                       (get instruction :to)
-                                                       (get instruction :width)
-                                                       (get instruction :height))]))))
+  (create-preview-surface activity
+                          (get instruction :camera)
+                          (get instruction :from)
+                          (get instruction :to)
+                          (get instruction :width)
+                          (get instruction :height)))
 
 (defn fit-linear-layout! [view]
   (let [params (LinearLayout$LayoutParams.

                               (doto surface
                                 (.setLayoutParams params)
                                 (.requestLayout)))
                           (when to
                             (server/stream-video from to width height)))))]
        (doto (.getHolder surface)
          (.setType SurfaceHolder/SURFACE_TYPE_PUSH_BUFFERS)

(defn video-from-path [activity path]
  (setup-video-view (VideoView. activity) activity path))

(defn save-locally! [activity instruction]
  (when-let [name (:name instruction)]
    (when-let [url (:url instruction)]
      (server/get-bytes url
