ASSOCIATE-ANDROID-DEVELOPER practice question 8 of 25

“Set the activity content to an explicit view. This view is placed directly into the activity's view hierarchy. It can itself be a complex view hierarchy.” This can be done by calling method:

Full set: 128 questions
Answer options
A: findViewById
B: setContentView
C: setActionBar
D: setContentTransitionManager
E: setTheme
Correct Answer:
B Reference: https://developer.android.com/training/basics/firstapp/building-ui https://developer.android.com/reference/android/app/Activity
Scroll to Top