Exam 4: Multiple Activities, Passing Data Between Activities, Transitions, Persistent Data

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The ____________ method of the Activity class is called when an activity becomes invisible to the user.

Free
(Short Answer)
4.8/5
(38)
Correct Answer:
Verified

onStop

Using a RelativeLayout, to specify that a View goes to the right of another View, we use which of the following attributes?

Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
Verified

C

What XML element do we use when defining a transition that involves a fade-in effect?

Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
Verified

C

The __________________ method of the Activity class is called when an activity is about to restart.

(Short Answer)
4.7/5
(32)

It is possible to pass data from one activity to another.

(True/False)
4.7/5
(38)

In order to set up a transition when going from one activity to another, we call the ____________ method from the Activity class.

(Short Answer)
5.0/5
(33)

Using a RelativeLayout, which attribute do we use to specify that a View goes below another View?

(Multiple Choice)
4.7/5
(38)

What is DataActivity in the following code? Intent myIntent = new Intent( this, DataActivity.class );

(Multiple Choice)
4.9/5
(39)

When using a scale element for a scaling transition, what attribute do we use to define the x coordinate of a fixed point when scaling takes place?

(Multiple Choice)
4.8/5
(35)

What is this in the following code? Intent myIntent = new Intent( this, DataActivity.class );

(Multiple Choice)
4.9/5
(31)

A Table Layout arranges its components in ____________ and ____________.

(Short Answer)
5.0/5
(30)

If we have more than one activity, it is possible to navigate back and forth between the corresponding views.

(True/False)
4.9/5
(27)

The __________________ method of the Activity class is called when another activity starts and the current activity goes in the background.

(Short Answer)
4.8/5
(30)

The ____________ interface includes the functionality to write to and read from the user preferences.

(Short Answer)
4.7/5
(39)

What XML element represents a row in a TableLayout?

(Multiple Choice)
4.8/5
(39)

Clicking on a button can make the app move to another activity.

(True/False)
4.7/5
(31)

Following is the API of the getint method of SharedPreferences.Editor: Int getInt( String a, int b) What does b represent?

(Multiple Choice)
4.9/5
(41)

Using a RelativeLayout, which attribute do we use to specify that a View's bottom matches the bottom of its parent View?

(Multiple Choice)
4.9/5
(22)

Using a RelativeLayout, to specify that a View matches the left edge of another View, we use which of the following attributes?

(Multiple Choice)
4.9/5
(32)

We can use a View element to encode a line.

(True/False)
4.7/5
(38)
Showing 1 - 20 of 22
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)