What is used to display the XML layout on an Activity?

Android Basic

Quiz
•
Computers
•
University
•
Easy
MD-14 Mardika
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
findViewById()
setContentView()
getText().toString()
setOnClickListener()
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Which function is called first when opening an Activity?
setContentView()
findViewById()
onCreate()
etText()
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What is used to connect a variable to a View component in XML based on its id?
setContentView()
findViewById()
getText().toString()
setOnClickListener()
4.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What is used to perform an action when a component is clicked?
findViewById()
setContentView()
getText().toString()
setOnClickListener()
5.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What is used to get text from an EditText?
findViewById()
getText().toString()
setContentView()
setOnClickListener()
6.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What is used to persist data when a configuration change occurs?
setText()
findViewById()
setContentView()
onSaveInstanceState()
7.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
What causes a configuration change?
Changing the text on a TextView
Pressing the back button
Changing the screen orientation
Changing the app language
Create a free account and access millions of resources
Similar Resources on Quizizz
26 questions
Quiz#6: Content Analysis

Quiz
•
University
27 questions
Microsoft Word Quiz

Quiz
•
6th Grade - University
25 questions
MAIL MERGE

Quiz
•
University
30 questions
Android Quiz

Quiz
•
University
35 questions
MAP ite1

Quiz
•
University
30 questions
CSC134_Chapter 6: Application Software

Quiz
•
University
25 questions
Quiz Pemrograman Mobile

Quiz
•
University
25 questions
Mastering Microsoft Word Basics

Quiz
•
6th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade