What does the following line of code do? Toast toast = Toast.makeText(this,"Android ATC", Toast.LENGTH_LONG) ; toast.setGravity(Gravity.TOP|Gravity.RIGHT, 0, 0) ; toast.show( ) ;
A) The toast will have it UI components place on the top-right corner.
B) The toast will appear on the top-right corner.
C) The toast will show the text message on top-right corner of the toast box.
D) The toast will appear at the center of the screen at position (0,0) , but aligned to the top-right corner.
Correct Answer:
Verified
Q77: Which of the following statements is correct
Q78: Which of the following tools creates certificates
Q79: Which method should you use to start
Q80: In which Activity life-cycle method you should
Q81: Which of the following statements about DDMS
Q83: Consider the following code: Intent i =
Q84: Consider the following code snippet to query
Q85: Which of these is the incorrect method
Q86: When publishing an update to your application
Q87: Which of the following is NOT true
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents