Cyber Monday 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
2 months 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
Lourdes
8 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
...
Margery
11 days ago
C) stytes.xml file
upvoted 0 times
...
Magda
1 months ago
B) activity_main.xml file
upvoted 0 times
...
Ty
1 months ago
A) AadroiddManifest-xml file
upvoted 0 times
...
...
Sharika
2 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
1 months ago
D) MainActivity.java or MainActivity.kt file
upvoted 0 times
...
Arlyne
1 months ago
C) stytes.xml file
upvoted 0 times
...
Ressie
1 months ago
B) activity_main.xml file
upvoted 0 times
...
Dan
2 months 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
3 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
1 months ago
D) MainActivity.java or MainActivity.kt file
upvoted 0 times
...
Marica
1 months ago
C) stytes.xml file
upvoted 0 times
...
Casie
2 months ago
B) activity_main.xml file
upvoted 0 times
...
Lacey
2 months ago
A) AadroiddManifest-xml file
upvoted 0 times
...
...
Charlesetta
3 months ago
I think the answer is C) styles.xml file.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77