Which of the following classes should be extended to create a custom view?

Which of the following classes should be extended to create a custom view?
A . View
B . ViewGroup
C . Context
D . Activity

Answer: A

Explanation:

All of the view classes defined in the Android framework extend View. Your custom view can also extend View directly, or you can save time by extending one of the existing view subclasses, such as Button.

References: http://developer.android.com/training/custom-views/create-view.html

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments