1
The Activity class is a subclass of _____ContextView Answer
2_____Activities_ dictate the UI and handle the user interaction to the smart phone screen.
View Answer
3_____AndroidManifest.xml___ file describes the fundamental characteristics of the app and defines each of
its components.
View Answer
4
This XML that defines the layout for main activity’s UI is named as _____activity_main.xml__
View Answer
5
When we build and run an android app, the system launches an instance of _____Activity_ and loads its
layout.
View Answer
6
When your activity is no longer visible to the user, it has entered the _____Stopped state, and the system invokes the onStop() callback.
View Answer
7
In activity lifecycle states, _____onResume_ is the state in which the application interacts with the user.
View Answer
8
The system invokes _____onRestart_() callback event to restore the state of the activity from the time that it was stopped.
View Answer
9
During _____onStart() event of activity life cycle, As onCreate() exits, the activity enters the Started state, and becomes visible to the user.
View Answer
10
In activity life cycle, When onCreate() finishes, the next callback is always _____onStart() event.
View Answer
11
The activity life cycle event _____onCreate() must be used to define the layout for the activity's user interface
View Answer
12
Child activity must have a matching <_____uses-permission> element in their manifest if you want a parent activity to launch this child activity.
View Answer
13
To declare activity in android app, We have to open manifest file and add an <activity> element as a child of the <_____application____> element
View Answer
14
Log messages can be viewed in _____LogCat_ window in Android studio.
View Answer
15
Complete the following statement to loads UI components from res/layout/activity_main.xml file. _____setContentView__(R.layout.activity_main);
View Answer
16_____onResume() is called when the user starts interacting with the application.
View Answer
17
The _____onStart_() callback is called when the activity becomes visible to the user.
View Answer
18
Android system initiates its program within an Activity by calling the _____onCreate_() callback method.
View Answer