Hi i am writing an android app. And I want the roboto font in it irrespective of the version of the phone. Is there a way to do it?
Thanks, Rahim.
Yeah why not, you can get the Roboto font :
Android ICS typography
Lets say you want to change the font of a text view :
Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/Roboto-Black.ttf"); TextView tv = (TextView) findViewById(R.id.FontTextView); tv.setTypeface(tf);