I am trying to establish a new custom font (otf file) for my web view.
I put anbaaarabic_bold.otf in assets file.
There is how i do:
String h
I guess getActivity().getFilesDir().getAbsolutePath() doesn't get you into assets folder where your font resides, so the change of font is just ignored as it's not found
When I was using custom fonts I used the path this.getAssets() + "your_font_name.otf"
The code I used:
Typeface type = Typeface.createFromAsset(this.getAssets(), fontName);
((TextView) findViewById(R.id.textView1)).setTypeface(type);