title: Show/hide text with button
body: <p>I am trying to show text with a <code>button</code> click. </p>
  
  <p>Here is my <code>onClick</code> code:</p>
  
  <pre><code>public class Uteliv extends Activity {
  
      public void onCrate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_uteliv);
  
          TextView tidiTekst = (TextView) findViewById(R.id.tidiTekst);
          tidiTekst.setVisibility(View.GONE);
  
          Button tidiKnapp= (Button) findViewById(R.id.tidiKnapp);
          tidiKnapp.setOnClickListener(new OnClickListener() {
  
          public void onClick(View v) {
              tidiTekst.setVisibility(View.VISIBLE);
  
          }
       });
     }
  }
  </code></pre>
  
  <p>What is wrong? When I test it on my phone I only get a blank page.</p>