Which of the following files has the correct name for a layout design file of an activity in an Android app?
Suggested Answer: C
Get Premium AND-801 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
33 comments · newest first
ZI
Zita
11 months ago
D is right, but I can see why some might confuse it with B.
VE
Veronique
11 months ago
Surprised that people think it's anything but D.
AR
Artie
11 months ago
No way, I thought it was A!
TU
Tula
11 months ago
I thought it was B at first, but yeah, D makes more sense.
KE
Kenny
12 months ago
It's definitely D, that's the layout file name.
IL
Ilda
12 months ago
I’m a bit confused; I thought layout files had to be named with "activity" in them, but I can't recall the exact format.
MA
Maryanne
12 months ago
I feel like "MainActivity.java" is important for the activity itself, but it’s not the layout file we're looking for.
AR
Artie
1 year ago
I remember practicing a question about file naming conventions, and I think "activity_main.xml" is the right format for layout files.
BU
Buddy
1 year ago
I think the layout design file should end with .xml, but I'm not completely sure which option that is.
OD
Odette
1 year ago
I've got this! Grouping the thumbnails will make it easy to move them around. And the zoom links are no problem at all.
KE
Kenny
1 year ago
Numbered ACL sounds familiar, but I can't recall how it relates specifically to allowing DNS traffic. Am I missing something?
YU
Yuriko
1 year ago
Hmm, I'm not too familiar with ACCS and the sample user configuration. I'll need to review the documentation carefully to understand what Multimedia users are and how they are set up in this system.
IN
In
1 year ago
Gradle.sql? Is this a SQL exam or an Android one? I'm going with D and hoping the examiner has a sense of humor.
TU
Tu
1 year ago
C'mon, Sample.class? This exam is testing our Android basics, not our Java knowledge. Definitely D.
VI
Vilma
1 year ago
Yes, D is the correct answer for the layout design file in an Android app.
RA
Rana
1 year ago
I think the correct name should be ctivity_main.xml.
EL
Elfriede
1 year ago
I agree, Sample.class is definitely not the correct name for an Android layout design file.
AU
Audry
1 year ago
Wait, MainActivity.java or .kt? I thought those were for the actual class, not the layout file. D has to be the right one.
HE
Herminia
1 year ago
Yeah, it can be confusing sometimes.
AL
Aleta
1 year ago
Oh, I see. I thought the same thing at first.
ME
Melvin
1 year ago
No, it's actually B) MainActivity.java or MainActivity.kt for the layout design file.
MI
Michell
1 year ago
D) ctivity_main.xml
JU
Julian
1 year ago
C) Sample.class
NA
Nana
1 year ago
B) MainActivity.java or MainActivity.kt
EM
Emmanuel
1 year ago
A) Gradle.sql
DE
Delisa
1 year ago
Seriously, Gradle.sql? That's just ridiculous. Gotta be D, right?
CA
Cassi
1 year ago
Definitely not Gradle.sql, that's for sure. D, activity_main.xml, is the right answer.
BO
Bobbie
1 year ago
I agree, D is the correct file name for a layout design file in an Android app.
KI
Kimbery
1 year ago
Yeah, Gradle.sql doesn't make any sense. D seems like the most logical choice.
SI
Silvana
1 year ago
Hmm, I thought the layout file was called activity_main.xml, but D looks like the correct answer here.
MI
Miriam
2 years ago
I'm not sure, but I think B) MainActivity.java or MainActivity.kt could also be a valid name for a layout design file in an Android app.
CH
Christiane
2 years ago
I agree with Nicolette, D) activity_main.xml makes sense because it follows the naming convention for layout design files in Android.
NI
Nicolette
2 years ago
I think the correct name for a layout design file in an Android app is D) activity_main.xml.