Set content view in android
<pre><code>public class CheckitoutActivity extends Activity {
    public void onCreate(Bundle savedInstanceState)
 {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

}

void change()
{
setContentView(R.layout.someview);
}
</code></pre>

<p>It does not set the view to someview in the function change. What am i doing wrong.</p>
