Create a view class  |  Views  |  Android Developers

A well-designed custom view is much like any other well-designed class. It encapsulates a specific set of functionality with an easy-to-use interface, it uses CPU and memory efficiently, and so forth. In addition to being a well-designed class, though…