Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Associate-Android-Developer Topic 3 Question 61 Discussion

Actual exam question for Google's Associate Android Developer exam
Question #: 61
Topic #: 3
[All Associate Android Developer Questions]

Working with Custom View. Once you define the custom attributes, you can use them in layout XML files just like built-in attributes. The only difference is that your custom attributes belong to a different namespace. Instead of belonging to the http://schemas.android.com/apk/res/android namespace, they belong to:

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Kindra
2 months ago
A is the way to go! Custom attributes need to be in a namespace that reflects your package, not the whole Android platform.
upvoted 0 times
...
Tu
2 months ago
I bet the exam writer is just trying to namespace-drop us. Gotta stay on top of those namespaces, yo!
upvoted 0 times
Carin
1 months ago
Yeah, but once you get the hang of it, it becomes easier to work with custom views.
upvoted 0 times
...
Daniela
1 months ago
C) http://schemas.android.com/[your package name]
upvoted 0 times
...
Layla
2 months ago
I know right, namespaces can be tricky to keep track of.
upvoted 0 times
...
Elizabeth
2 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Taryn
2 months ago
As someone who loves a good namespace pun, I'm hoping the answer is 'http://schemas.android.com/apk/res/cus-tom'.
upvoted 0 times
...
Leigha
2 months ago
I think the answer is A. The custom attributes belong to a namespace specific to your package name, which makes sense.
upvoted 0 times
Lonna
1 months ago
Actually, I think it's C. The custom attributes belong to a namespace specific to the package name.
upvoted 0 times
...
Reena
2 months ago
C) http://schemas.android.com/[your package name]
upvoted 0 times
...
Lanie
2 months ago
I agree, it makes sense that the custom attributes would be in a namespace related to the package name.
upvoted 0 times
...
Jenelle
2 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Nelida
3 months ago
I'm not sure, but I think C) http://schemas.android.com/[your package name] could also be a possibility.
upvoted 0 times
...
Elza
3 months ago
I agree with Rhea, A) makes sense because it specifies the correct namespace.
upvoted 0 times
...
Rhea
3 months ago
I think the answer is A) http://schemas.android.com/apk/res/[your package name].
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