PrepAway - Latest Free Exam Questions & Answers

Which of following is incorrect about the Toast class?

Which of following is incorrect about the Toast class?

PrepAway - Latest Free Exam Questions & Answers

A.
You cannot set a custom layout for a Toast.

B.
A Toast can only created by an Activity class

C.
There is no need to close or hide a Toast, since it closes automatically.

D.
A Toast is displayed for only one of the following periods: Toast.LENGHT_SHORT
orToast.LENGTH_LONG

One Comment on “Which of following is incorrect about the Toast class?


Leave a Reply

Your email address will not be published. Required fields are marked *