Online Course Support

In addition to the activity or application context, and the message to display, which parameter does the makeText method from the Toast class take?

Question 7
In addition to the activity or application context, and the message to display, which parameter does the makeText method from the Toast class take?

1 point

the language of the message (Locale.ENGLISH, or Locale.FRENCH…)

the duration of the pop-up (Toast.LENGTH_SHORT or Toast.LENGTH_LONG)

the priority of the message (Toast.URGENT or Toast.NON_URGENT)

the background color of the pop-up (Color.BLUE, Color.BLACK…)

the position of the pop-up (Toast.TOP, Toast.CENTER, or Toast.BOTTOM)

Similar Posts