https://askfortricks.com/2016/11/create-custom-view-android-apply-custom-font-xml/
How to create custom view in Android and apply the custom font from xml.