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
Then all you do is set the theme in the manifest to AppTheme. This also works with standard widgets using android:[widget]Style in place of customViewStyle in the definition of AppTheme.