A Place for Your Photo
The first step for this chapter is to build out a place for your photo to live on the crime detail screen. You will need two new View objects: an ImageView to display the photo and a Button to press to take a new photo (Figure 17.1).
Figure 17.1 New UI
Dedicating an entire row to a thumbnail and a button would make your app look clunky and unprofessional. You do not want that, so you will arrange things nicely. You will put the picture of the crime and the button to take the photo alongside the title.
Instead of using text to label your new button, this time you will label it with an icon. As with ...
Get Android Programming: The Big Nerd Ranch Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.