title: Android - Setting TextView to Bold Not Working
body: <p>Here is the XML:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/modal_list_row"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:paddingBottom="7.5dp"
      android:orientation="vertical" &gt;
  
      &lt;TextView
                  android:id="@+id/title_text_view"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_alignParentTop="true"
                  android:layout_centerHorizontal="true"
                  android:gravity="center"
                  android:text="@string/alert_title_small"
                  android:textColor="@color/alert_dialog_text_color"
                  android:textSize="@dimen/alert_dialog_title_font_size"
                  android:textStyle="bold" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Although the Graphical Layout shows bold text, on the device it's not. Is it a device thing or what?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>For people who keeps on asking for the ful XML, here it is updated. A simple relative layout. And here is the Java Code:</p>
  
  <pre><code>this.titleTextView.setText(this.modalListState.title);
  </code></pre>
  
  <p>Things to think about: Could it be due to the device typefaces? Does anyone have Galaxy S3 to confirm? Could it be the activity style? Here is the one used for the whole app:</p>
  
  <pre><code>&lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
  &lt;!--
      Base application theme, dependent on API level. This theme is replaced
      by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
  
  --&gt;
  &lt;style name="AppBaseTheme" parent="android:Theme.Light"&gt;
      &lt;!--
          Theme customizations available in newer API levels can go in
          res/values-vXX/styles.xml, while customizations related to
          backward-compatibility can go here.
  
      --&gt;
  &lt;/style&gt;
  
  &lt;!-- Application theme. --&gt;
  &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
      &lt;!-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
  &lt;/style&gt;
  
  &lt;style name="TransparentActivity" &gt;
      &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name="android:colorBackgroundCacheHint"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowIsTranslucent"&gt;true&lt;/item&gt;
      &lt;item name="android:windowAnimationStyle"&gt;@android:style/Animation&lt;/item&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowFullscreen"&gt;false&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p></p>
  
  <p>The TransparentActivity style is used for the concerned activity.</p>