Hi, the code in the book is fine and works OK but I couldn't get the AutoComplete text to show up without some further work. As the app is presented the AutoComplete text shows up as white text on a white background, you can still select one of the AutoComplete entries but you don't know what you're selecting.
I found the following links helped:
Note that the solution suggests creating a new themes.xml and has some suggested code. The code suggested should be wrapped in <resources> code.... </resources> tags.
Hope that helps someone.