A developer can create a custom view by extending class Activity.
A developer can create a custom view by extending class Activity.
A developer cannot create a custom view by extending the class Activity. Custom views in Android are created by extending the View class or one of its subclasses, not the Activity class. The Activity class is used to handle the user interface and interactions within an app, but not to define custom views.
By extending any View subclass we can create custom view. Like for edit text custom view extend subclass edit text view. Hence correct option is B.
B. False