is NOT state of and activity?
Select one:
a. Active
b. Stopped
c. Paused
d. Storedd. StoredPaused is used
Select one:
a. If the activity is at the foreground
b. If the activity is at the foreground and visible
c. If the activity is not visible
d. If the activity is at the background and still visibled. If the activity is at the background and still visibleWhich of following is NOT a lifecycle method of and activity?
Select one:
a. onPause()
b. onDestroy()
c. onRecreate()
d. onResume()c. onRecreate()What is NOT an activity lifetime?
Select one:
a. Foreground lifetime
b. Background lifetime
c. Entire lifetime
d. Visible lifetimeb. Background lifetimeWhich one is NOT a constraint in ConstraintLayout?
Select one:
a. Constraint
b. Margin
c. Chain styles
d. Chainsa. ConstraintWhich one is NOT an Android layout?
Select one:
a. Grid Layout
b. RectangleLayout
c. FrameLayout
d. Constraint Layoutb. RectangleLayoutWhich one is make the size of an element in the layout fit with the children of its?
Select one:
a. Wrap-content
b. Wrap-constraint
c. Fixed
d. Match-parenta. Wrap-contentWhich is NOT a callback method for an event listener
a. onLongClickListener()
b. onClickedListener()
c. on TouchListener()
d. onClickListener()b. onClickedListener()Which statement is used to launch Main2Activity?
Select one:
a. intent.startActivity(Main2Activity);
b. intent.startActivity(intent);
c. this.startActivity(Main2Activity.class);
d. this.startActivity(intent);c. this.startActivity(Main2Activity.class);Which statement is used to pass a string to another activity?
Select one:
a. intent.putData("key", "text");
b. intent.putString("key", "text");
c. intent.putExtra("key", "text");
d. intent.putExtras("key", "text");c. intent.putExtra("key", "text");Which method using to return data from sub-activity to main-activity?
Select one:
a. public void finish(){}
b. public void returnData(){}
c. public void receiveData(){}
d. protected void onActivityResult(int requestCode, int resultCode, Intent data){}a. public void finish(){}Which mechanism is used at main activity to get the returning data from sub activity?
Select one:
a. Explicit intent
b. Request code
c. Broadcast receiver
d. Implicit intentb. Request codeAndroid: What is value on component's attribute "layout_width" and "layout_height" to display the component big enough?
Select one:
a. fill _parent
b. match_parent
c. None of others
d. wrap_contentd. wrap_contentAndroid: Which attribute will be used in XML if the Java code needs a reference to View?
Select one:
a. android: id
b. android: index
c. android: background
d. android: gravitya. android: idWhich of following statement is true?
Select one:
a. When an activity start sub-activity, the sub-activity can send data back by finish() method and activity can get data by onActivityResult() method
b. When an activity start sub-activity, the sub-activity can send data back by onFinish() method and activity can get data by onActivityFinish() method
c. When an activity start sub-activity, the sub-activity can send data back by finish() method and activity can get data by onFinish() method
d. When an activity start sub-activity, the sub-activity can send data back by onFinish() method and activity can get data by ActivityResult() methoda. When an activity start sub-activity, the sub-activity can send data back by finish() method and activity can get data by onActivityResult() method