¡@

Home 

2014/10/16 ¤W¤È 08:26:50

android Programming Glossary: typeface

Custom fonts and XML layouts (Android)

http://stackoverflow.com/questions/2376250/custom-fonts-and-xml-layouts-android

android.content.res.TypedArray import android.graphics.Typeface import android.util.AttributeSet import android.util.Log import.. public boolean setCustomFont Context ctx String asset Typeface tf null try tf Typeface.createFromAsset ctx.getAssets asset.. Context ctx String asset Typeface tf null try tf Typeface.createFromAsset ctx.getAssets asset catch Exception e Log.e..

Custom Fonts in Android

http://stackoverflow.com/questions/3203694/custom-fonts-in-android

to say a TextView do the following import android.graphics.Typeface public class FontSampler extends Activity @Override public void.. TextView tv TextView findViewById R.id.custom Typeface face Typeface.createFromAsset getAssets fonts Verdana.ttf.. tv TextView findViewById R.id.custom Typeface face Typeface.createFromAsset getAssets fonts Verdana.ttf tv.setTypeface..

Can I embed a custom font in an Android application?

http://stackoverflow.com/questions/3424165/can-i-embed-a-custom-font-in-an-android-application

R.id.myCustomTVFont Grab you font from the asset folder Typeface tf Typeface.createFromAsset getAssets fonts times.otf Make your.. Grab you font from the asset folder Typeface tf Typeface.createFromAsset getAssets fonts times.otf Make your TextView..

Android - Using Custom Font

http://stackoverflow.com/questions/3651086/android-using-custom-font

it doesn't seems to change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset getAssets fonts myFont.ttf.. seems to change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset getAssets fonts myFont.ttf TextView.. change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset getAssets fonts myFont.ttf TextView myTextView..

How to change font face of Webview in Android?

http://stackoverflow.com/questions/3900658/how-to-change-font-face-of-webview-in-android

webview's default font to my font. This is what I tried Typeface font Typeface.createFromAsset getAssets myfont.ttf private WebView.. font to my font. This is what I tried Typeface font Typeface.createFromAsset getAssets myfont.ttf private WebView webview..

How to use a custom typeface in a widget?

http://stackoverflow.com/questions/4318572/how-to-use-a-custom-typeface-in-a-widget

Canvas myCanvas new Canvas myBitmap Paint paint new Paint Typeface clock Typeface.createFromAsset this.getAssets Clockopia.ttf.. new Canvas myBitmap Paint paint new Paint Typeface clock Typeface.createFromAsset this.getAssets Clockopia.ttf paint.setAntiAlias.. true paint.setSubpixelText true paint.setTypeface clock paint.setStyle Paint.Style.FILL paint.setColor Color.WHITE..

Android: Want to set custom fonts for whole application not runtime

http://stackoverflow.com/questions/4395309/android-want-to-set-custom-fonts-for-whole-application-not-runtime

this code. public static void setFont TextView textView Typeface tf Typeface.createFromAsset textView.getContext .getAssets fonts.. public static void setFont TextView textView Typeface tf Typeface.createFromAsset textView.getContext .getAssets fonts BPreplay.otf.. .getAssets fonts BPreplay.otf textView.setTypeface tf And the problem with this code is it should be called for..

How can I use TypefaceSpan or StyleSpan with a custom Typeface?

http://stackoverflow.com/questions/4819049/how-can-i-use-typefacespan-or-stylespan-with-a-custom-typeface

can I use TypefaceSpan or StyleSpan with a custom Typeface I have not found a.. can I use TypefaceSpan or StyleSpan with a custom Typeface I have not found a way to do this. Is it possible android.. how to do it with the available classes so i extended the TypefaceSpan on my own an now it works for me. Here is what i did package..

How to support Arabic text in Android?

http://stackoverflow.com/questions/7962704/how-to-support-arabic-text-in-android

import android.content.Context import android.graphics.Typeface public final class Farsi public static boolean isFarsiConversionNeeded.. charIsRTL char ch return ch char 0x0621 private static Typeface typeface public static final Typeface GetFarsiFont Context context.. private static Typeface typeface public static final Typeface GetFarsiFont Context context if typeface null typeface Typeface.createFromAsset..

Custom fonts and XML layouts (Android)

http://stackoverflow.com/questions/2376250/custom-fonts-and-xml-layouts-android

asset catch Exception e Log.e TAG Could not get typeface e.getMessage return false setTypeface tf return true attrs.xml..

How to change theme for AlertDialog

http://stackoverflow.com/questions/2422562/how-to-change-theme-for-alertdialog

item name android textColor #00FF00 item item name android typeface monospace item item name android textSize 10sp item style resources..

How to change the font on the TextView?

http://stackoverflow.com/questions/2888508/how-to-change-the-font-on-the-textview

Second to change to a different built in font use android typeface in layout XML or setTypeface in Java. Third there is no Helvetica..

Using a custom typeface in Android

http://stackoverflow.com/questions/2973270/using-a-custom-typeface-in-android

a custom typeface in Android I want to use a custom font for my android application.. which I am creating. I can individually change the typeface of each object from Code but I have hundreds of them. So Is.. So Is there a way to do this from the XML Setting a custom typeface Is there a way to do it from code in one place to say that the..

Android - Using Custom Font

http://stackoverflow.com/questions/3651086/android-using-custom-font

font to a TextView but it doesn't seems to change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset..

How to change font face of Webview in Android?

http://stackoverflow.com/questions/3900658/how-to-change-font-face-of-webview-in-android

app for Android. I tried getting an instance of custom typeface by placing my custom font in assets. But still couldn't set..

Android: Want to set custom fonts for whole application not runtime

http://stackoverflow.com/questions/4395309/android-want-to-set-custom-fonts-for-whole-application-not-runtime

you want to customize. e.g. want a Button with a custom typeface Extend Button . Let's make an example public class CustomButton.. resources Define the values for the attribute attr name typeface format enum enum name roboto value 0 enum name robotoCondensed.. it supports declare styleable name CustomButton attr name typeface declare styleable resources Okay so with that out of the way..

How to support Arabic text in Android?

http://stackoverflow.com/questions/7962704/how-to-support-arabic-text-in-android

Arabic completely. For Android 2.1 you must set the typeface Farsi.GetFarsiFont this and then use Farsi.Convert س ا For Android.. char ch return ch char 0x0621 private static Typeface typeface public static final Typeface GetFarsiFont Context context if.. static final Typeface GetFarsiFont Context context if typeface null typeface Typeface.createFromAsset context.getAssets DroidSansFallback.ttf..

Custom Adapter for List View

http://stackoverflow.com/questions/8166497/custom-adapter-for-list-view

android gravity left android layout_weight 1 android typeface monospace android height 40sp TableRow TableRow android layout_height..

Custom font in android ( for WHOLE application) [duplicate]

http://stackoverflow.com/questions/15991521/custom-font-in-android-for-whole-application

View v text.setText This is a custom toast Typeface typeFace Typeface.createFromAsset getAssets fonts kn.ttf text.setTypeface..

Access a typeface once from asset and use it as a reference

http://stackoverflow.com/questions/18847531/access-a-typeface-once-from-asset-and-use-it-as-a-reference

getTypeface Context context String typefaceName Typeface typeFace null try if typefaceName.equals FontType.TITLE_FONT.toString.. context.getAssets fonts typefaceName typeFace mTitleFont else if typefaceName.equals FontType.CONTENT_FONT.toString.. context.getAssets fonts typefaceName typeFace mContentFont catch Exception ex typeFace Typeface.DEFAULT..

malayalam font in android?

http://stackoverflow.com/questions/4930896/malayalam-font-in-android

it bt i think u will surely find it helpful. Typeface typeFace Typeface.createFromAsset getAsset malyalam.fnt and then add.. add it to your textview like below textView.setTypeFace typeFace hope this will work for u keeping my fingers crossed share..

How to add external fonts to android application

http://stackoverflow.com/questions/5634245/how-to-add-external-fonts-to-android-application

myTextView TextView findViewById R.id.textBox Typeface typeFace Typeface.createFromAsset getAssets fonts mytruetypefont.ttf.. getAssets fonts mytruetypefont.ttf myTextView.setTypeface typeFace Please note that not all TTF will work. While I was experimenting..

Multiple TypeFace in single TextView

http://stackoverflow.com/questions/10675070/multiple-typeface-in-single-textview

TypeFace in single TextView I want to set the first character on TextView.. I want to set the first character on TextView with a TypeFace and the second character with a different Type face and so on... but it didn't help me because I want to set multiple TypeFace external TTFs Any idea java android share improve this question..

How to change fontFamily of TextView in Android

http://stackoverflow.com/questions/12128331/how-to-change-fontfamily-of-textview-in-android

the pre defined ones I don't really need to define my own TypeFace but all I need is something different from what it shows right..

How to use Roboto font in android Project

http://stackoverflow.com/questions/13539688/how-to-use-roboto-font-in-android-project

. You can do it the conventionaly way by using TypeFace like this Typeface typeface Typeface.createFromAsset getAssets..

setting custom font for sherlock action bar tab android

http://stackoverflow.com/questions/14436364/setting-custom-font-for-sherlock-action-bar-tab-android

ab.tttf a.settext VIDEO But how to do I set a TypeFace in the ActionBar in this code mTabsAdapter.addTab bar.newTab..

Tamil font in android

http://stackoverflow.com/questions/15267292/tamil-font-in-android

Bamini font and place it in your assets folder. And create TypeFace with the font Bamini and set it to the TextView. Typeface font1.. this when you use the library. You need to make use of the TypeFace class available in Android. You can use either Bamini or TSCII..

What are the default font caracteristics in Android?

http://stackoverflow.com/questions/4285225/what-are-the-default-font-caracteristics-in-android

Android I know that fonts properties can be found in the TypeFace class but I can't find the default caracteristics of the writing..

How to change the Font styles and face in Android?

http://stackoverflow.com/questions/7513088/how-to-change-the-font-styles-and-face-in-android

improve this question in android only four fonttype face TypeFace Typeface.DEFAULT Typeface.MONOSPACE Typeface.SANS_SERIF Typeface.SERIF..

Custom fonts and XML layouts (Android)

http://stackoverflow.com/questions/2376250/custom-fonts-and-xml-layouts-android

package com.example import android.content.Context import android.content.res.TypedArray import android.graphics.Typeface import android.util.AttributeSet import android.util.Log import android.widget.TextView public class TextViewPlus extends.. setCustomFont ctx customFont a.recycle public boolean setCustomFont Context ctx String asset Typeface tf null try tf Typeface.createFromAsset ctx.getAssets asset catch Exception e Log.e TAG Could not get typeface e.getMessage.. setCustomFont ctx customFont a.recycle public boolean setCustomFont Context ctx String asset Typeface tf null try tf Typeface.createFromAsset ctx.getAssets asset catch Exception e Log.e TAG Could not get typeface e.getMessage return false setTypeface..

Custom Fonts in Android

http://stackoverflow.com/questions/3203694/custom-fonts-in-android

this case Verdana.ttf . Then if you want to apply that font to say a TextView do the following import android.graphics.Typeface public class FontSampler extends Activity @Override public void onCreate Bundle icicle super.onCreate icicle setContentView.. Bundle icicle super.onCreate icicle setContentView R.layout.main TextView tv TextView findViewById R.id.custom Typeface face Typeface.createFromAsset getAssets fonts Verdana.ttf tv.setTypeface face This example was taken from the ComonsWare.. icicle super.onCreate icicle setContentView R.layout.main TextView tv TextView findViewById R.id.custom Typeface face Typeface.createFromAsset getAssets fonts Verdana.ttf tv.setTypeface face This example was taken from the ComonsWare book written..

Can I embed a custom font in an Android application?

http://stackoverflow.com/questions/3424165/can-i-embed-a-custom-font-in-an-android-application

with something like that TextView tv TextView findViewById R.id.myCustomTVFont Grab you font from the asset folder Typeface tf Typeface.createFromAsset getAssets fonts times.otf Make your TextView look great tv.setTypeface tf share improve this..

Android - Using Custom Font

http://stackoverflow.com/questions/3651086/android-using-custom-font

Using Custom Font I applied a custom font to a TextView but it doesn't seems to change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset getAssets fonts myFont.ttf TextView myTextView TextView findViewById R.id.myTextView.. Font I applied a custom font to a TextView but it doesn't seems to change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset getAssets fonts myFont.ttf TextView myTextView TextView findViewById R.id.myTextView myTextView.setTypeface.. I applied a custom font to a TextView but it doesn't seems to change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset getAssets fonts myFont.ttf TextView myTextView TextView findViewById R.id.myTextView myTextView.setTypeface..

How to change font face of Webview in Android?

http://stackoverflow.com/questions/3900658/how-to-change-font-face-of-webview-in-android

by placing my custom font in assets. But still couldn't set webview's default font to my font. This is what I tried Typeface font Typeface.createFromAsset getAssets myfont.ttf private WebView webview WebSettings webSettings webView.getSettings webSettings.setFixedFontFamily.. my custom font in assets. But still couldn't set webview's default font to my font. This is what I tried Typeface font Typeface.createFromAsset getAssets myfont.ttf private WebView webview WebSettings webSettings webView.getSettings webSettings.setFixedFontFamily..

How to use a custom typeface in a widget?

http://stackoverflow.com/questions/4318572/how-to-use-a-custom-typeface-in-a-widget

myBitmap Bitmap.createBitmap 160 84 Bitmap.Config.ARGB_4444 Canvas myCanvas new Canvas myBitmap Paint paint new Paint Typeface clock Typeface.createFromAsset this.getAssets Clockopia.ttf paint.setAntiAlias true paint.setSubpixelText true paint.setTypeface.. 160 84 Bitmap.Config.ARGB_4444 Canvas myCanvas new Canvas myBitmap Paint paint new Paint Typeface clock Typeface.createFromAsset this.getAssets Clockopia.ttf paint.setAntiAlias true paint.setSubpixelText true paint.setTypeface clock.. Typeface.createFromAsset this.getAssets Clockopia.ttf paint.setAntiAlias true paint.setSubpixelText true paint.setTypeface clock paint.setStyle Paint.Style.FILL paint.setColor Color.WHITE paint.setTextSize 65 paint.setTextAlign Align.CENTER myCanvas.drawText..

Android: Want to set custom fonts for whole application not runtime

http://stackoverflow.com/questions/4395309/android-want-to-set-custom-fonts-for-whole-application-not-runtime

in JAVA file I can set the font for one control from this code. public static void setFont TextView textView Typeface tf Typeface.createFromAsset textView.getContext .getAssets fonts BPreplay.otf textView.setTypeface tf And the problem with.. JAVA file I can set the font for one control from this code. public static void setFont TextView textView Typeface tf Typeface.createFromAsset textView.getContext .getAssets fonts BPreplay.otf textView.setTypeface tf And the problem with this code.. TextView textView Typeface tf Typeface.createFromAsset textView.getContext .getAssets fonts BPreplay.otf textView.setTypeface tf And the problem with this code is it should be called for every control. And i want to call this or any similar method..

How can I use TypefaceSpan or StyleSpan with a custom Typeface?

http://stackoverflow.com/questions/4819049/how-can-i-use-typefacespan-or-stylespan-with-a-custom-typeface

can I use TypefaceSpan or StyleSpan with a custom Typeface I have not found a way to do this. Is it possible android text span share improve.. can I use TypefaceSpan or StyleSpan with a custom Typeface I have not found a way to do this. Is it possible android text span share improve this question Well i couldn't figure.. share improve this question Well i couldn't figure out how to do it with the available classes so i extended the TypefaceSpan on my own an now it works for me. Here is what i did package de.myproject.text.style import android.graphics.Paint import..

How to support Arabic text in Android?

http://stackoverflow.com/questions/7962704/how-to-support-arabic-text-in-android

or Farsi text to a good form for showing in your activities. import android.content.Context import android.graphics.Typeface public final class Farsi public static boolean isFarsiConversionNeeded true private final static String szLamAndAlef Character.. char 122 Character.isDigit ch private final static boolean charIsRTL char ch return ch char 0x0621 private static Typeface typeface public static final Typeface GetFarsiFont Context context if typeface null typeface Typeface.createFromAsset context.getAssets.. final static boolean charIsRTL char ch return ch char 0x0621 private static Typeface typeface public static final Typeface GetFarsiFont Context context if typeface null typeface Typeface.createFromAsset context.getAssets DroidSansFallback.ttf..

Custom fonts and XML layouts (Android)

http://stackoverflow.com/questions/2376250/custom-fonts-and-xml-layouts-android

asset Typeface tf null try tf Typeface.createFromAsset ctx.getAssets asset catch Exception e Log.e TAG Could not get typeface e.getMessage return false setTypeface tf return true attrs.xml in res values xml version 1.0 encoding utf 8 resources..

How to change theme for AlertDialog

http://stackoverflow.com/questions/2422562/how-to-change-theme-for-alertdialog

How to change the font on the TextView?

http://stackoverflow.com/questions/2888508/how-to-change-the-font-on-the-textview

First the default is not Arial. The default is Droid Sans. Second to change to a different built in font use android typeface in layout XML or setTypeface in Java. Third there is no Helvetica font in Android. The built in choices are Droid Sans sans..

Using a custom typeface in Android

http://stackoverflow.com/questions/2973270/using-a-custom-typeface-in-android

a custom typeface in Android I want to use a custom font for my android application which I am creating. I can individually change the typeface.. in Android I want to use a custom font for my android application which I am creating. I can individually change the typeface of each object from Code but I have hundreds of them. So Is there a way to do this from the XML Setting a custom typeface.. of each object from Code but I have hundreds of them. So Is there a way to do this from the XML Setting a custom typeface Is there a way to do it from code in one place to say that the whole application and all the components should use the custom..

Android - Using Custom Font

http://stackoverflow.com/questions/3651086/android-using-custom-font

Using Custom Font I applied a custom font to a TextView but it doesn't seems to change the typeface. Here is my code Typeface myTypeface Typeface.createFromAsset getAssets fonts myFont.ttf TextView myTextView TextView findViewById..

How to change font face of Webview in Android?

http://stackoverflow.com/questions/3900658/how-to-change-font-face-of-webview-in-android

font. I'm using webview in developing an bilingual browser app for Android. I tried getting an instance of custom typeface by placing my custom font in assets. But still couldn't set webview's default font to my font. This is what I tried Typeface..

Android: Want to set custom fonts for whole application not runtime

http://stackoverflow.com/questions/4395309/android-want-to-set-custom-fonts-for-whole-application-not-runtime

going to want to make a new class that overrides whatever View you want to customize. e.g. want a Button with a custom typeface Extend Button . Let's make an example public class CustomButton extends Button private final static int ROBOTO 0 private.. one add an XML document under res values attrs.xml and add resources Define the values for the attribute attr name typeface format enum enum name roboto value 0 enum name robotoCondensed value 1 attr Tell Android that the class CustomButton can.. the class CustomButton can be styled and which attributes it supports declare styleable name CustomButton attr name typeface declare styleable resources Okay so with that out of the way let's get back to the parseAttributes method from earlier private..

How to support Arabic text in Android?

http://stackoverflow.com/questions/7962704/how-to-support-arabic-text-in-android

font but does not show your word correctly. Android 3.x supports Arabic completely. For Android 2.1 you must set the typeface Farsi.GetFarsiFont this and then use Farsi.Convert س ا For Android 2.2 you do not need setting font but must use Farsi.Convert.. Character.isDigit ch private final static boolean charIsRTL char ch return ch char 0x0621 private static Typeface typeface public static final Typeface GetFarsiFont Context context if typeface null typeface Typeface.createFromAsset context.getAssets.. return ch char 0x0621 private static Typeface typeface public static final Typeface GetFarsiFont Context context if typeface null typeface Typeface.createFromAsset context.getAssets DroidSansFallback.ttf TAHOMA.TTF return typeface 3 And in..

Custom Adapter for List View

http://stackoverflow.com/questions/8166497/custom-adapter-for-list-view

wrap_content android text id android textStyle bold android gravity left android layout_weight 1 android typeface monospace android height 40sp TableRow TableRow android layout_height wrap_content android layout_width fill_parent TextView..

Custom font in android ( for WHOLE application) [duplicate]

http://stackoverflow.com/questions/15991521/custom-font-in-android-for-whole-application

Access a typeface once from asset and use it as a reference

http://stackoverflow.com/questions/18847531/access-a-typeface-once-from-asset-and-use-it-as-a-reference

with the font passed as parameter public static Typeface getTypeface Context context String typefaceName Typeface typeFace null try if typefaceName.equals FontType.TITLE_FONT.toString if mTitleFont null mTitleFont Typeface.createFromAsset context.getAssets.. if mTitleFont null mTitleFont Typeface.createFromAsset context.getAssets fonts typefaceName typeFace mTitleFont else if typefaceName.equals FontType.CONTENT_FONT.toString if mContentFont null mContentFont Typeface.createFromAsset.. if mContentFont null mContentFont Typeface.createFromAsset context.getAssets fonts typefaceName typeFace mContentFont catch Exception ex typeFace Typeface.DEFAULT return typeFace @return Typeface Instance with the font passed..

malayalam font in android?

http://stackoverflow.com/questions/4930896/malayalam-font-in-android

setTypeface function set the font for textview. I have't try'd it bt i think u will surely find it helpful. Typeface typeFace Typeface.createFromAsset getAsset malyalam.fnt and then add it to your textview like below textView.setTypeFace typeFace..

How to add external fonts to android application

http://stackoverflow.com/questions/5634245/how-to-add-external-fonts-to-android-application

put your TTF into it. Then in your Activity onCreate TextView myTextView TextView findViewById R.id.textBox Typeface typeFace Typeface.createFromAsset getAssets fonts mytruetypefont.ttf myTextView.setTypeface typeFace Please note that not all TTF.. R.id.textBox Typeface typeFace Typeface.createFromAsset getAssets fonts mytruetypefont.ttf myTextView.setTypeface typeFace Please note that not all TTF will work. While I was experimenting it worked just for a subset on Windows the ones whose..

Multiple TypeFace in single TextView

http://stackoverflow.com/questions/10675070/multiple-typeface-in-single-textview

TypeFace in single TextView I want to set the first character on TextView with a TypeFace and the second character with a different.. TypeFace in single TextView I want to set the first character on TextView with a TypeFace and the second character with a different Type face and so on. I read this example Spannable str Spannable textView.getText.. 0 7 Spannable.SPAN_EXCLUSIVE_EXCLUSIVE but it didn't help me because I want to set multiple TypeFace external TTFs Any idea java android share improve this question Use the following code I'm using Bangla and Tamil font..

How to change fontFamily of TextView in Android

http://stackoverflow.com/questions/12128331/how-to-change-fontfamily-of-textview-in-android

see any pre defined fonts in Android. How to select one of the pre defined ones I don't really need to define my own TypeFace but all I need is something different from what it shows right now. TextView android id @ id HeaderText android layout_width..

How to use Roboto font in android Project

http://stackoverflow.com/questions/13539688/how-to-use-roboto-font-in-android-project

font from here http developer.android.com design style typography.html . You can do it the conventionaly way by using TypeFace like this Typeface typeface Typeface.createFromAsset getAssets fontName textView.setTypeface typeface Note The above will..

setting custom font for sherlock action bar tab android

http://stackoverflow.com/questions/14436364/setting-custom-font-for-sherlock-action-bar-tab-android

part of this application by setting TYPE FACE like ... a.settypeface ab.tttf a.settext VIDEO But how to do I set a TypeFace in the ActionBar in this code mTabsAdapter.addTab bar.newTab .setText IMAGE AFragment.class null mTabsAdapter.addTab bar.newTab..

Tamil font in android

http://stackoverflow.com/questions/15267292/tamil-font-in-android

for this solution. All you have to do is download the Bamini font and place it in your assets folder. And create TypeFace with the font Bamini and set it to the TextView. Typeface font1 Typeface.createFromAsset getAssets fonts Bamini.ttf customText1.setTypeface.. TAB TAM TSCII and Anjal. You would get something like this when you use the library. You need to make use of the TypeFace class available in Android. You can use either Bamini or TSCII encoding Mylai is a TSCII font . Disclaimer I wrote this..

What are the default font caracteristics in Android?

http://stackoverflow.com/questions/4285225/what-are-the-default-font-caracteristics-in-android

are the default font caracteristics in Android I know that fonts properties can be found in the TypeFace class but I can't find the default caracteristics of the writing in Android. I mean if I take a TextView and simply do setText..

How to change the Font styles and face in Android?

http://stackoverflow.com/questions/7513088/how-to-change-the-font-styles-and-face-in-android

to do that. Thanks in Advance. android fonts share improve this question in android only four fonttype face TypeFace Typeface.DEFAULT Typeface.MONOSPACE Typeface.SANS_SERIF Typeface.SERIF and font type Typeface.NORMAL Typeface.BOLD Typeface.BOLD_ITALIC..