BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Android Exam AND-801 Topic 8 Question 72 Discussion

Actual exam question for Android's AND-801 exam
Question #: 72
Topic #: 8
[All AND-801 Questions]

Which of the below choices is the best answer to fill the empty space in the following sentence? If you want to give all text widgets in an app the same format such as font color, font size, and font family, you should add the style attribute to the TextView XML tags in layout file and set the attribute value to the same style name. You should define that style by adding a new style tag "style name-style_name" inside...............................

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Linette
26 days ago
Haha, definitely not D) MainActivity.java or MainActivity.kt file. That would be like trying to style your clothes in your pocket instead of your wardrobe.
upvoted 0 times
Magda
7 days ago
B) activity_main.xml file
upvoted 0 times
...
Ty
13 days ago
A) AadroiddManifest-xml file
upvoted 0 times
...
...
Sharika
1 months ago
I agree, C) styles.xml file is the way to go. Defining the style in the layout file would be too much of a hassle.
upvoted 0 times
Tula
8 days ago
D) MainActivity.java or MainActivity.kt file
upvoted 0 times
...
Arlyne
15 days ago
C) stytes.xml file
upvoted 0 times
...
Ressie
16 days ago
B) activity_main.xml file
upvoted 0 times
...
Dan
30 days ago
A) AadroiddManifest-xml file
upvoted 0 times
...
...
Theron
2 months ago
I agree with Charlesetta. Adding the style in styles.xml file makes sense.
upvoted 0 times
...
Karl
2 months ago
I'm not sure, but I think it might be B) activity_main.xml file.
upvoted 0 times
...
Harrison
2 months ago
The correct answer is C) styles.xml file. You need to define the style in the styles.xml file to apply it to all the TextView widgets in the app.
upvoted 0 times
Dorian
19 days ago
D) MainActivity.java or MainActivity.kt file
upvoted 0 times
...
Marica
22 days ago
C) stytes.xml file
upvoted 0 times
...
Casie
28 days ago
B) activity_main.xml file
upvoted 0 times
...
Lacey
1 months ago
A) AadroiddManifest-xml file
upvoted 0 times
...
...
Charlesetta
2 months ago
I think the answer is C) styles.xml file.
upvoted 0 times
...

Save Cancel