1) जोड़ें "फोंट" फोंट के अंदर "संपत्ति" फ़ोल्डर और पेस्ट फॉन्ट के अंदर फ़ोल्डर लेआउट फ़ाइल में फ़ोल्डर
2):
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:id="@+id/custom_font"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="मैं छात्र हूँ"
/>
3) गतिविधि जहां में आप पाठ को नीचे दिए गए कोड का उपयोग करना चाहते हैं:
TextView txt = (TextView) findViewById(R.id.custom_font);
Typeface font = Typeface.createFromAsset(getAssets(), "hindifont.ttf");
txt.setTypeface(font);
स्रोत
2011-06-24 05:06:14
संभावित डुप्लिकेट [एंड्रॉइड एप्लाका में बाहरी फ़ॉन्ट कैसे जोड़ें tion।] (http://stackoverflow.com/questions/5634245/how-to-add-external-fonts-to-android- appplication) –