title: Android: Default attributes for custom views
body: <p>I have a custom view that extends one of the framework classes. Most <code>View</code>s in Android have some default attributes defined for them (such as <code>Button</code> being clickable, which is set by <code>android:clickable="true"</code>).</p>
  
  <p>How do I provide application-wide defaults for my custom view?</p>