title: ImageButton issues. Skipped 35 frames! The application may be doing too much work on its main thread
body: <p>I'm making a new post because I don't know how to solve the problem I have. I've read many posts but I didn't find right solution. I have only one ImageButton and I get an error "Skipped 66 frames! The application ...". I heard about AsyncTask but I don't know how to use it so this is why I am writing this post. I saw AsyncTask solutions but not for ImageButton so I would like to get an example for ImageButton to solve my problems for my app.
  Thanks alot.</p>
  
  <p>public class MainActivity extends AppCompatActivity {</p>
  
  <pre><code>ImageButton info;
  Button playButton;
  TextView title;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      //FULLSCREEN
      requestWindowFeature(Window.FEATURE_NO_TITLE);
      getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
              WindowManager.LayoutParams.FLAG_FULLSCREEN);
  
      setContentView(R.layout.activity_main);
  
      info = (ImageButton) findViewById(R.id.info);
      info.setBackgroundResource(R.drawable.info);
  }
  </code></pre>
  
  <p>}</p>