Changes

Jump to: navigation, search
Designing the User Interface Layout
== Designing the User Interface Layout ==
<google>ADSDAQBOX_FLOW</google>
Navigate to app -> res -> layout and double click on the activity_camera_app.xml layout file to load it into the Designer tool. With the Designer tool in Design mode, delete the default “Hello world!” text view and replace it with a Button view positioned in the center of the display canvas. Change the text on the button to read “Record Video” and assign an onClick property to the button so that it calls a method named startRecording when selected by the user:

Navigation menu