private void toastLastScore() { // Toast t = Toast.makeText( this, "" + "(+" + mCurrentGame.getLastAddedScore() + ")", Toast.LENGTH_SHORT); t.setGravity(Gravity.TOP, textViewGameScoreText.getLeft(), textViewGameScoreText.getTop()); t.setMargin(0, 0); t.show(); }
private void showPlayerWon() { Toast.makeText(this, "You won! :)", Toast.LENGTH_LONG).show(); }