I want to split an activity into several classes. is it possible?
<p>I'm finishing an application, the thing is that I have a couple of layouts and all the code concentrated in an Activity.
I have 5000 lines of codes and when I have to fix something is a pain in the ass to find what im looking for.</p>

<p>as im really new in Android development, I can't find a way to split the code into several classes.
is there a simply way of split one layout with one activity?
its really annoying to declare each layout with his corresponding activity in the manifest.</p>

<p>thanks for any suggestion.</p>
