title: Cannot resolve method SetVisibility Int
body: <p>Can Somebody help me, I don't know the answer, and I don't Know How to resolve it?</p>
  
  <p>This is My Main Code That I am using:</p>
  
  <pre><code>package com.wp.fyriaxis;
  
  import android.content.Intent;
  import android.os.Bundle;
  import android.support.design.widget.FloatingActionButton;
  import android.support.design.widget.Snackbar;
  import android.support.v7.app.AppCompatActivity;
  import android.support.v7.widget.Toolbar;
  import android.view.View;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.widget.TextView;
  
  import static com.wp.fyriaxis.R.id.textView2;
  
  public class MainActivity extends AppCompatActivity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
      setSupportActionBar(toolbar);
  
      FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
      fab.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
              Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
                      .setAction("Action", null).show();
  
          }
      });
  }
  
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
              int id = item.getItemId();
  
      //noinspection SimplifiableIfStatement
      if (id == R.id.action_settings) {
          return true;
      }
  
      return super.onOptionsItemSelected(item);
  }
  
  public void klik(View view) {
  
      textView2.setVisibility(View.VISIBLE);
  
  
  }}
  </code></pre>
  
  <p>The Error is with textView2.setVisibility(View.VISIBLE);
  I am using Android Studio for the project</p>