title: Android: TextView property "textAllCaps" causes XML Inflate error when fontFamily is set to sans-serif-condensed
body: <p>This is an interesting error, and I've been able to reproduce it consistently. I wonder if anyone else has noticed it; I haven't been able to find any reports on it.</p>
  
  <p>The TextView widget has a property called <code>textAllCaps</code> that is used to force any text displayed in it to be in all caps. This property has been in Android since API level 14 (Ice Cream Sandwich). However, I discovered recently that if you set the Font Family for your app to sans-serif-condensed by putting this in styles.xml:</p>
  
  <pre><code>&lt;item name="android:fontFamily"&gt;sans-serif-condensed&lt;/item&gt;
  </code></pre>
  
  <p>Then when any layout is inflated that has a TextView with <code>textAllCaps=true</code>, then it crashes with an <code>InflateException</code>:</p>
  
  <pre><code>12-05 09:18:48.847 16727 16727 E AndroidRuntime: android.view.InflateException: Binary XML file line #49: Binary XML file line #49: Error inflating class TextView
  12-05 09:18:48.847 16727 16727 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #49: Error inflating class TextView
  12-05 09:18:48.847 16727 16727 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=57; index=2491
  </code></pre>
  
  <p>Has anyone encountered this before?</p>