
|
|
for statement has the form for (TypeName variable : ArrayOrCollection) { etc. That is, the character between variable and ArrayOrCollection should be a colon, not a semicolon. (Thanks to Anguel Stankov for bringing this to my attention.)
android:layout_length. Instead, it should be android:layout_height. The code listing (Listing 1-2) is correct but the paragraph and section heading immediately before the code listing are incorrect. (Thanks to Anguel Stankov for bringing this to my attention.)