Multiple Choice
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
Correct Answer:
Verified
Q34: Which of the following methods is used
Q35: Which folder contains the Android project Java
Q36: What does this code do? Intent intent
Q37: Consider the following: <?xml version="1.0" encoding="utf-8"?><br><menu<br>Xmlns:android="http://schemas.android.com/apk/res/android"><br><item android:id="@+id/create_new"
Q38: Javascript is enabled by default in a
Q40: Which of the following applies to the
Q41: Which of the following permission is necessary
Q42: Consider the following code: @Override public void
Q43: Which of the following Activity life-cycle methods
Q44: Which of the following tools creates certificates