In android How to applying font for whole application?
<p>I want to apply some font say Times New Roman to only my application.
<strong>Not to the whole system and not to specific view.</strong> As far I know </p>

<p>to apply font to specific view we store font file in asset folder and get into the application as follow.</p>

<pre><code>1]  Typeface  mFace = Typeface.createFromAsset(getContext().getAssets(),
                                     "fonts/samplefont.ttf");
    textView.setTypeface(mFace);


2] To apply font to whole application I can replace the DroidSans.ttf file with my font file.
</code></pre>

<p>I can use first way to apply font to my application but It won't be a good solution because I need to modify everywhere and  I don't want to do that if there is any better way is available.</p>
