android crash when trying to switch layouts
<p>My goal: onclick hide main linearlayout and make another linearlayout with picture on top visible</p>

<p>Here is my code I can run the onclick and have the main linearlayout hide but the other layout doesn't showup</p>

<pre><code>final LinearLayout jamesaionolayout = (LinearLayout) findViewById(R.id.jamesaionolayout);
final ImageView jamesaiono = (ImageView) findViewById(R.id.jamesaiono);


final LinearLayout textlayout = (LinearLayout) findViewById(R.id.text);
 TextView roster = (TextView) findViewById(R.id.jamesaionotext);

 roster.setOnClickListener(new View.OnClickListener() {
     public void onClick(View view) {
         jamesaionolayout.setVisibility (View.VISIBLE);
         jamesaiono.setVisibility (View.VISIBLE);
         textlayout.setVisibility(View.INVISIBLE);
     }

 });
</code></pre>
