我已经改变了#34; android:textColorHighlight"在我的主题定义中,但突出显示保持红色。
custom style below style.xml
<style name= "DesertStyleEditText" parent="@android:style/Widget.EditText">
<item name="android:background">@drawable/textview_rounded_edges</item><!-- #5f4427 -->
<item name="android:textStyle">normal</item>
<item name="android:textColor">#EFD9CC</item>
<item name ="android:textColorHighlight">#DDC4B0</item>
</style>
下面的textview_rounded_edges.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<corners android:radius="3dip" />
<stroke android:width="2dip" android:color="#80B47E5A" />
<!-- android:color=#CC83776b"@android:color/transparent"-->
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
<solid android:color="#815940"/><!-- #5f4427"-->
</shape>