Hindi font not displying correctly in android [closed]

What you can do is copy a hindi font into your assets folder and create a custom typeface and apply that to the textView.

Example:

Typeface font = Typeface.createFromAsset(getAssets(),"font.ttf");
TextView text = (TextView) findViewById(R.id.appName);
text.setTypeface(font);

Leave a Comment