Google Android Layout + Code
<p>What is the best way to avoid having lots of code in the main.java file when writing android apps.</p>

<p>it seems i will have to switch the views constantly all running through the main java file and having worker services fireing events.</p>

<p>am i missing something or is this how it is meant to work?</p>
