I have a custom view that extends one of the framework classes. Most Views in Android have some default attributes defined for them (such as Button bei
View
Button
You could additionally create a style for this layout and set the style where you use the view.
source: http://developer.android.com/guide/topics/resources/style-resource.html