Change orange color Theme and Style for EditTextPreferenceChange orange color Theme and Style for EditTextPreference
<p>I have managed to change the orange color of a EditText in styles.xml with: </p>

<pre><code>&lt;style name="edittext" parent="@android:style/Widget.EditText"&gt;
   &lt;item name="android:focusable"&gt;true&lt;/item&gt;
   &lt;item name="android:focusableInTouchMode"&gt;true&lt;/item&gt;
   &lt;item name="android:clickable"&gt;true&lt;/item&gt;
   &lt;item name="android:background"&gt;@drawable/edit_text&lt;/item&gt;
   &lt;item name="android:textAppearance"&gt;?android:attr/textAppearanceMediumInverse&lt;/item&gt;
   &lt;item name="android:textColor"&gt;@android:color/primary_text_light&lt;/item&gt;      
   &lt;item name="android:gravity"&gt;center_vertical&lt;/item&gt;
 &lt;/style&gt;
</code></pre>

<p>and in Themes.xml along with: </p>

<pre><code>&lt;style name="Theme.Dialog" parent="android:Theme.Dialog"&gt;   
  &lt;item name="android:editTextStyle"&gt;@style/edittext&lt;/item&gt;
&lt;/style&gt; 
</code></pre>

<p>then also changed the drawables in my edit_text to get rid of the default orange color. </p>

<p>But in Preference for a EditTextPreference (and ListPreference) I can't find the Style and Theme to get this working in a similar fashion? </p>

<p>Did try with:</p>

<pre><code>&lt;item name="android:editTextPreferenceStyle"&gt;@style/edittextpref&lt;/item
</code></pre>

<p>and</p>

<pre><code>parent="@android:style/Preference.DialogPreference.EditTextPreference"
</code></pre>

<p>with no luck…</p>

<p>Regards Jonas </p>
