Right click an android XML layout, go to Fast Layout, Generate Activity. It'll generate those tedious findViewById declarations.   https://www.youtube.com/watch?v=2t0c-x7HFJw