title: Toast location does not update if that toast is already showing
body: <p>My question, in particular, is in reference to the refreshing of toasts that have already been created.</p>
  
  <p>For example i have a toast that has been created:</p>
  
  <pre><code>Toast myToast;
  
  // ...
  
  protected void onCreate(Bundle savedInstanceState) {
      // ...
  
      myToast = Toast.makeText(getApplicationContext(), "Welcome", Toast.LENGTH_SHORT);
  </code></pre>
  
  <p>And i update it differently upon two actions:</p>
  
  <pre><code>if (answerGiven != correctAnswer) {
      myToast.setText("Wrong");
  
  
          View view = myToast.getView();
          TextView text = (TextView) view.findViewById(android.R.id.message);
          text.setTextColor(Color.RED);
          text.setTextSize(32);
  
      myToast.setGravity(Gravity.CENTER, 0, 0);
  } else {
  
          View view = myToast.getView();
          TextView text = (TextView) view.findViewById(android.R.id.message);
          text.setTextColor(Color.BLACK);
          text.setTextSize(32);
  
     myToast.setText("+" + bonus);
  
     myToast.setGravity(Gravity.TOP|Gravity.RIGHT, 20, 20);
  }
  
  myToast.show();
  </code></pre>
  
  <p>Both actions work fine! BUT if i tap quickly on the screen and activate the second action BEFORE the toast has disappeared the gravity is not changed even though the message updates.</p>
  
  <p>For example: if i choose the wrong answer, and the "wrong" message shows in the middle of the screen:</p>
  
  <p><a href="https://i.stack.imgur.com/uT6kd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uT6kd.jpg" alt="enter image description here"></a></p>
  
  <p>and then i immediately choose the write answer the bonus message appears in the middle of the screen (even though i tell it to set <code>setGravity(Gravity.TOP|Gravity.RIGHT, 20, 20);</code>)</p>
  
  <p><a href="https://i.stack.imgur.com/Z4KMa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z4KMa.jpg" alt="enter image description here"></a></p>
  
  <p>(note: if i wait until the "Wrong" message disappears and then click the correct answer the bonus message shows in the top left corner as expected)</p>
  
  <p>What i want it to do is to always put the bonus message at the top left. Even if the user clicks to fast. So i am asking: Is there a way that the previous toast can be cancelled so the new message is shown in the correct location. Or is there something i should do (such as refresh my activity) so that the message displays in the correct location.</p>