3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Android #2Advent Calendar 2018

Day 6

2 大 Android で Toast が表示されない原因

Last updated at Posted at 2019-08-07

その :one:

.show() を付け忘れていると表示されません :no_good:

Toast.makeText(this, "テキスト", Toast.LENGTH_LONG).show()

その :two:

設定 > [該当アプリ] の「通知の表示」を OFF にすると Toast が出なくなります。

Screenshot_1565159694.png

Snackbar であれば「通知の表示」が OFF になっていても表示されます :ok_woman:

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?