You are already familiar with many of the user interface controls, such as layout and View controls, that are available in the Android SDK. You can also create custom controls. To do so, you simply start with the appropriate View (or ViewGroup) control from the android.view package and implement the specific functionality needed for your control or layout.
You can use custom View controls in XML layout files, or you can inflate them programmatically at runtime. You can create new types of controls, or you can simply extend the functionality of existing controls, such as TextView or Button controls.
For more information on implementing custom View controls, see http://developer.android.com/guide/topics/ui/custom-components.html.
Was this article helpful?