BlackFriday 2024! 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 63 Discussion

Actual exam question for Google's Associate-Android-Developer exam
Question #: 63
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:

Rosenda
3 months ago
Ha! I bet the answer is going to be something like 'http://schemas.android.com/apk/res/custom' or something equally convoluted. Android development is all about making things as complex as possible.
upvoted 0 times
Kiera
3 months ago
C) http://schemas.android.com/[your package name]
upvoted 0 times
...
Kiera
3 months ago
No, it's not that complex. It's just a different namespace for custom attributes.
upvoted 0 times
...
Kiera
3 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Bernadine
4 months ago
Hmm, I'm not sure. I'll go with C just to be different. Who needs to follow the rules, anyway?
upvoted 0 times
...
Annabelle
4 months ago
I'm pretty sure it's B. The custom attributes are part of your app, so they should belong to your package name.
upvoted 0 times
Roy
2 months ago
B) http://schemas.android.com/apk/[your package name]
upvoted 0 times
...
Janna
2 months ago
I think it's A. The custom attributes should be within the res folder of your package name.
upvoted 0 times
...
German
2 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
Alison
2 months ago
Yes, I agree with you. B is the correct namespace for custom attributes in Android.
upvoted 0 times
...
Tonette
2 months ago
B) http://schemas.android.com/apk/[your package name]
upvoted 0 times
...
Becky
3 months ago
Yes, I agree with B. The custom attributes should be in the apk folder of your package name.
upvoted 0 times
...
Candra
3 months ago
B) http://schemas.android.com/apk/[your package name]
upvoted 0 times
...
Margery
3 months ago
I think it's A. The custom attributes need to be linked to your package name in order to work properly.
upvoted 0 times
...
Marge
3 months ago
I think it's A. It makes sense that the custom attributes would be in the res folder of your package name.
upvoted 0 times
...
Johana
3 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
Brett
4 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Mitzie
4 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
...
Fletcher
4 months ago
I think the answer is A. The custom attributes belong to a different namespace, and it makes sense that it would be your package name.
upvoted 0 times
Katlyn
4 months ago
A) http://schemas.android.com/apk/res/[your package name]
upvoted 0 times
...
...
Bernardine
4 months ago
I agree with Francesco, A) makes sense because it specifies the correct namespace.
upvoted 0 times
...
Francesco
5 months ago
I think the answer is A) http://schemas.android.com/apk/res/[your package name].
upvoted 0 times
...

Save Cancel