Design + Code an Android App from Scratch
This video shows how to add a custom font in Android by placing the font files under the assets folder. In the first fix, we add a ScrollView to ensure the Dialog doesn’t go off the screen in landscape mode. In the next fix, we override the dimes.xml for different screen width qualifiers to ensure the widget looks appropriately sized on different class of devices. Finally we use the Typeface.createFromAsset method wherever required to load our custom font from the assets folder and use it across the different TextViews.