title: Why I am not able to set Italic style in my EditText?
body: <p>Following is the code to display EditText, </p>
  
  <pre><code> &lt;EditText
       android:id="@+id/editStartingPoint"
       android:layout_width="0dp"
       android:layout_height="wrap_content"
       android:layout_weight="1"
       android:background="@null"
       android:gravity="left|center_vertical"
       android:hint="@string/StartingPointHint"
       android:inputType="text"
       android:maxLength="8"
       android:padding="10dp"
       android:text=""
       android:textColor="@color/login_lbl"
       android:textSize="@dimen/settings_list_font_size" /&gt;
  </code></pre>
  
  <p>In Activity file, onCreate() method, </p>
  
  <pre><code>edtStartPoint = (EditText) findViewById(R.id.editStartingPoint);
  edtStartPoint.setText ( Html.fromHtml( "&lt;small&gt;&lt;i&gt;" + "This should be in Italic" + "&lt;/i&gt;&lt;/small&gt;" ));
  </code></pre>
  
  <p>I also tried, </p>
  
  <pre><code>edtStartPoint.setTypeface( null, Typeface.ITALIC );
  </code></pre>
  
  <p>I have also tried to set <code>textStyle="italic"</code> in my .xml file </p>
  
  <p>but the problem is that Text is not displaying in Italic style, What could be the problem ? Please help me out.</p>
  
  <p>Edit : It is also not showing Text in bold format. xml preview it is showing fine, but when I run the code in real device Samsung S7562, it is displaying a normal text only</p>