Hi,
I have managed to change the orange color of a EditText in styles.xml
with:
<style name="edittext" parent="@android:style/Widget.EditText">
<item name="android:focusable">true</item>
<item name="android:focusableInTouchMode">true</item>
<item name="android:clickable">true</item>
<item name="android:background">@drawable/edit_text</
item>
<------------------
<item name="android:textAppearance">?android:attr/
textAppearanceMediumInverse</item>
<item name="android:textColor">@android:color/
primary_text_light</item>
<item name="android:gravity">center_vertical</item>
</style>
and in Themes.xml along with:
<style name="Theme.Dialog" parent="android:Theme.Dialog">
<item name="android:editTextStyle">@style/edittext</item>
</style>
then also change the drawables to get rid of the default orange color.
But in Preference for a EditTextPreference (and ListPreference) I
can't find the Style and Theme to get this working in a similar
fashion?
Regards Jonas
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en