I apply a bangla(a language) font as typeface in textview, Text style was set as bold but
the english part of the text is coming as bold but bangla part is not bold, i want to bold full text
TextView tv = (TextView)findViewById(R.id.textvie2); Typeface mFace = Typeface.createFromAsset(this.getAssets(),"Siyamrupali_1_01.ttf"); tv.setTypeface(mFace);
This was code in activity
and in xml it was
<TextView
android:id="@+id/textvie2"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dp"
android:textSize="25sp"
android:textStyle="bold" >
so if i set a bangla-english mixed text only english is getting bold, bangla font not getting bold, why?
Change your code as below