Starting CriminalIntent

In this chapter, you are going to start on the detail part of CriminalIntent. Figure 7.4 shows you what CriminalIntent will look like at the end of this chapter.

It may not seem like a very exciting goal to shoot for. Just keep in mind that this chapter is about laying the foundation to do bigger things later.

Figure 7.4  CriminalIntent at the end of this chapter

CriminalIntent at the end of this chapter

The screen shown in Figure 7.4 will be managed by a UI fragment named CrimeFragment. An instance of CrimeFragment will be hosted by an activity named CrimeActivity.

For now, think of hosting as the activity providing a spot in its view hierarchy where the fragment ...

Get Android Programming: The Big Nerd Ranch Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.