Android: Document form validation