I want to specify my own text size in my application, but I am having a problem doing this. When I change the font size in the device settings,...
I applied a custom font to a TextView, but it doesn’t seems to change the typeface. Here is my code: Typeface myTypeface = Typeface.createFromAsset(getAssets(), "fonts/myFont.ttf"); TextView myTextView = (TextView)findViewById(R.id.myTextView);...
I need to use certain font for my entire application. I have .ttf file for the same. Is it possible to set this as default font, at application start...
I’m using the Roboto light font in my app. To set the font I’ve to add the android:fontFamily="sans-serif-light" to every view. Is there any way to declare the Roboto...