In which method should setContentView() normally be called?
- onDestroy()
- onResume()
- onCreate()
- onPause()
Answer
C) onCreate()
The layout is set once in onCreate().
Computer Science MCQ · More Android OS: Architecture, Framework and Application Development MCQs · Practise