Android moving 'windows'
<p>I'm new to android and I'm need a little help understanding how to move from one window to another. I know i use <code>setContentView(R.layout.main)</code> to load an xml layout file, but how do i swap to another layout file? I assume i would use an onClick method on a button and change <code>setContentView(R.layout.other_layout)</code>, but would doing all this inside my main activity make my code cluttered? I could end up having 10000+ LOC easily. Can someone explain the correct way to do this please. Thanks</p>
