在styles中建一个style
<style name="MyEditText" parent="Theme.AppCompat.Light">
<item name="colorControlNormal">@color/text_9</item>
<item name="colorControlActivated">@color/text_9</item>
</style>
color中的颜色
<color name="text_9">#999999</color>
在EditText中引用
<EditText
android:id="@+id/et_latitude"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginRight="10dp"
android:layout_weight="1"
android:theme="@style/MyEditText"
android:gravity="center"
android:hint="维度"
android:textSize="@dimen/font_size_13" />
这样就可以了 。。。