A (175)

(Tuis.) #1
CHAPTER 7: Making Apps Interactive: Intents, Event Handling, and Menus 239

Right-click on the strings.xml file in your /res/values folder, and add five child tags in the


parent tag, one for your OK Buttons, named ok_button, and four for the EditText UI
widget hint text, named hint_colony, hint_pop, hint_fleet, and hint_ships, with the logical hint text
values, as is shown in Figure 7-21.

Now your child tag’s android:hint parameter will appear error-free and you can add an
android:text parameter to the

Free download pdf