@+id/btnSave in XML:

  1. Imports a library
  2. Creates a new ID named btnSave in the R class
  3. Sets the button colour
  4. Refers to a string
Answer

B) Creates a new ID named btnSave in the R class

The plus sign creates the ID if it does not exist.

Computer Science MCQ · More Screen Components and Orientation MCQs · Practise