Question: f. Given below code: (3 points) Toast my Toast = Toast.makeText(getApplicationContext(), Toast location, Toast.LENGTH_LONG); my Toast.setGravity( Gravity.CENTER, Integer.valueOf(txtXCoordinate.getText().toString(), Integer.valueOf(txtYCoordinate.getText().toString())); my Toast.show(); Draw the location and

 f. Given below code: (3 points) Toast my Toast = Toast.makeText(getApplicationContext(),

f. Given below code: (3 points) Toast my Toast = Toast.makeText(getApplicationContext(), "Toast location", Toast.LENGTH_LONG); my Toast.setGravity( Gravity.CENTER, Integer.valueOf(txtXCoordinate.getText().toString(), Integer.valueOf(txtYCoordinate.getText().toString())); my Toast.show(); Draw the location and content of the Toast widget in the below box if that phone has a 480x800 screen density. And txtXCoordinate = 240 and txtYCoordinate = 400, answer the following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!