title: How to make part of the text Bold in android at runtime?
body: <p>A <code>ListView</code> in my application has many string elements like <code>name</code>, <code>experience</code>, <code>date of joining</code>, etc. I just want to make <code>name</code> bold. All the string elements will be in a single <code>TextView</code>.</p>
  <p>my <code>XML</code>:</p>
  
  <p></p>
  <pre><code>&lt;ImageView
      android:id=&quot;@+id/logo&quot;
      android:layout_width=&quot;55dp&quot;
      android:layout_height=&quot;55dp&quot;
      android:layout_marginLeft=&quot;5dp&quot;
      android:layout_marginRight=&quot;5dp&quot;
      android:layout_marginTop=&quot;15dp&quot; &gt;
  &lt;/ImageView&gt;
  
  &lt;TextView
      android:id=&quot;@+id/label&quot;
      android:layout_width=&quot;wrap_content&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:layout_toRightOf=&quot;@id/logo&quot;
      android:padding=&quot;5dp&quot;
      android:textSize=&quot;12dp&quot; &gt;
  &lt;/TextView&gt;
  </code></pre>
  
  <p>My code to set the TextView of the ListView item:</p>
  <pre><code>holder.text.setText(name + &quot;\n&quot; + expirience + &quot; &quot; + dateOfJoininf);
  </code></pre>