Make text bold and italic

Is there anyway to make Android text in the xml file both bold and italics?

SAMPLE

  • Sync data between Android App and webserver
  • Background image for wrap_content
  • How to create a count-up effect for a textView in Android
  • Do you use onPostCreate() method?
  • Javascript date is invalid on iOS
  • How re-enable design palette in Android Studio
  • How to get URI current/default ringtone for incoming SMS?
  • Android Account Authenticator edit Email Id Credentials
  • Standard Android menu icons, for example refresh
  • Auto boot when wall charger is plugged
  • How to align title at center of ActionBar in default theme(Theme.Holo.Light)
  • Android - drawing cache - when is it useful?
  • 5 Solutions collect form web for “Make text bold and italic”

    Yes, just add android:textStyle="bold|italic".

    have you tried this

    android:textStyle="italic|bold"
    

    try this:

    <Textview android:textStyle="bolditalic" ....
    

    for more info see http://developer.android.com/reference/android/widget/TextView.html#attr_android:textStyle

    <TextView
        android:id="@+id/mTextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textStyle="bold|italic"
        android:text="YOUR_TEXT"
    />
    

    try using this,

    android:textStyle=”bold|italic”

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.