Changes

Jump to: navigation, search
no edit summary
== Designing the User Interface ==
Once the new project has been created, select the activity_audio_app.xml file from the Project tool window and, with the Designer tool in Design mode, select the “Hello world!” TextView and delete it from the layout. Drag and drop three Button views onto the layout. The positioning of the buttons is not of paramount importance to this example, though Figure 47 49-1 shows a suggested layout.
Configure the buttons to display string resources that read Play, Record and Stop and give them view IDs of recordButton, playButton, and stopButton respectively.
[[Image:android_studio_audio_app_example.png|The Android Studio Designer layout for a record and playback example]]
Figure 4749-1

Navigation menu