title: Setting @null for textColor dynamically in android
body: <p>I need an EditText to appear as a TextView for a form that will change from being write to read only.  I have found a useful snippet of code to do this in a layout:</p>
  
  <pre><code>&lt;EditText android:id="@+id/title"
            android:layout_width="fill_parent"
            style="?android:attr/textViewStyle"
            android:background="@null"
            android:textColor="@null" /&gt; 
  </code></pre>
  
  <p>I need to do this dynamically (not in the layout).  I know that the background can be set to <code>@null</code> by using <code>setBackgroundResource(null)</code>.  Because <code>setTextColor(int color)</code> takes an <code>int</code>, I assume that a specific color must be selected.  What is the correct color to choose that would be the equivalent to <code>@null</code>?  A color from the default theme?  Or is there a better way to do this?</p>