How set Spannable object font with custom font
I have Spannable object which I want to set its font by a custom font I have loaded before. Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/font_Name.ttf"); Spannable span1 = /*Spannable Item*/; /// I want to set span1 to have tf font face??? /// Here where I want help. EDIT : My problem is that I want to set two different custom fonts for the text view so I am working with the Spannable Imran Rana This is a late answer but will help others to solve the issue. Use the following code:(I'm using Bangla and Tamil font) TextView txt = (TextView) findViewById(R.id.custom_fonts); txt