title: Android: How to set text color for list items in AlertDialog properly
body: <p>I have an <code>AlertDialog</code> in my application. It contains a list of custom views with <code>TextView</code> widgets inside. Everything works fine on Android 2.x. The <code>AlertDialog</code> is created with white list and black text in it. But when I run my app on Android 3.x devices all <code>TextView</code>s are black and list's background is black too. So I can't see the text until I tap and hold one of the items.</p>
  
  <p>Here's a <code>TextView</code>'s definition from the layout file:</p>
  
  <pre><code>&lt;TextView
      android:id="@+id/label"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:singleLine="true"
      android:ellipsize="marquee"
      android:textAppearance="?android:attr/textAppearanceSmallInverse" /&gt;
  </code></pre>
  
  <p>I thought that using <code>textAppearanceSmallInverse</code> for the <code>textAppearance</code> attribute is a proper way to set text parameters and it must work on all devices but seems I was wrong. So what should I do to make <code>AlertDialog</code> display list items properly on all platforms? Thanks in advance.</p>