Passo 7 (1ª parte): Adicionando condição if ao código:

Vídeo: Conditionals: Writing an if statement (Tempo: 05:35)
Link:
http://teamtreehouse.com/library/build-a-simple-android-app/learning-the-language/conditionals-writing-an-if-statement-2