title: PerformClick does not work properly
body: <p>I am trying to make a dialog like a tooltip using EasyDialog.</p>
  
  <p>When I show this dialog open with clicking button, everything works fine.</p>
  
  <p>But the problem is when I want to show this dialog at when the activity starts</p>
  
  <p>I tried to show dialog by using button.performClick(). I put toast to make sure that the onClickListener is called. The result was that, The toast is showed normally but the dialog  does not.</p>
  
  <p>When I debug the program, I see that these lines of code are executing but I can't understand why the dialog does not display.</p>
  
  <p>Note that the library I use to show the dialog is <a href="https://github.com/michaelye/EasyDialog" rel="nofollow noreferrer">Here</a>.</p>
  
  <p>Here is the code : </p>
  
  <pre><code>    btnBottomLeft = (Button) findViewById(R.id.btnBottomLeft);
      btnBottomLeft.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              Toast.makeText(this, "HERE", Toast.LENGTH_LONG).show();
              new EasyDialog(MainActivity.this)
                      .setLayoutResourceId(R.layout.layout_tip_image_text)
                      .setBackgroundColor(MainActivity.this.getResources().getColor(R.color.background_color_yellow))
                      .setLocationByAttachedView(btnBottomRight)
                      .setGravity(EasyDialog.GRAVITY_TOP)
                      .setAnimationTranslationShow(EasyDialog.DIRECTION_X, 300, 400, 0)
                      .setAnimationTranslationShow(EasyDialog.DIRECTION_Y, 300, 400, 0)
                      .setAnimationTranslationDismiss(EasyDialog.DIRECTION_X, 300, 0, 400)
                      .setAnimationTranslationDismiss(EasyDialog.DIRECTION_Y, 300, 0, 400)
                      .setTouchOutsideDismiss(true)
                      .setMatchParent(true)
                      .setMarginLeftAndRight(24, 24)
                      .setOutsideColor(MainActivity.this.getResources().getColor(R.color.outside_color_trans))
                      .show();
          }
      });
      btnBottomLeft.performClick();
  </code></pre>
  
  <p>So, problem is that, the dialog opens correctly by clicking button.</p>
  
  <p>but <code>btnBottomLeft.performClick()</code> just show the toast, not the dialog.</p>
  
  <p>What should I do to make dialog open?</p>
  
  <p>Can anyone please help me?</p>