A friend is writing an Android app for school and I'm helping him a bit. There is one question that I was not able to solve for like an hour.
He is trying to show 2 toasts after each other, but we were not able to stack them, or even show them at the same time. All we see is the second Toast. We tried showing it for a shorter time, than the first, to see if it was hiding behind the second, it was not. Then we placed the second in the middle of the screen, but it didn't help either. He said it just works for his friend (I can't confirm that, but also couldn't google anyone having the same issue)
Toast t1 = Toast.makeText(getApplicationContext(), "first", Toast.LENGTH_LONG);
t1.show();
Toast t2 = Toast.makeText(getApplicationContext(), "second", Toast.LENGTH_SHORT);
t2.setGravity(0, 50, 0);
t2.show();
Are we totally missing something? Is it even designed to show two toasts the same time, or stack them?