title: Create custom button class to set style in Android
body: <p>I want to create a custom button class so that I don't need to always add styles in xml. I miss to add styles in xml sometimes and is created as a bug. By using Custom class, I want to remove this dependency of adding styles every time from <code>styles.xml</code>. </p>
  
  <p>I want to use this approach for all textviews and editText but I am unable to find how to do this. Please suggest approach. Thanks.</p>