Creating a new layout


In Figure 5.3 Diagram for layout for Cheat Activity the TextView is shown with android:text="@string/warning_text" but in your listing 5.2 it changes to android:text="@string/warning_text_view". This is confusing if you create the XML based on the figure instead of the listing as the references later are to warning_text_view.