我有2个editText的登录页面。 其中一个的代码是(另一个是相似的:
<android.support.design.widget.TextInputLayout
android:id="@+id/id2"
android:layout_width="280dp"
android:layout_height="60dp"
android:layout_above="@+id/textInputLayout"
android:layout_alignLeft="@+id/textInputLayout"
android:layout_alignStart="@+id/textInputLayout"
android:layout_margin="2dp"
android:layout_marginBottom="2dp"
android:layout_marginEnd="2dp"
android:layout_marginLeft="2dp"
android:layout_marginRight="2dp"
android:layout_marginStart="2dp"
android:layout_marginTop="2dp"
android:background="@xml/my_border"
android:gravity="bottom|left|center_horizontal"
android:selectAllOnFocus="true"
android:textColorHint="@color/pantoneC10">
<EditText
android:id="@+id/username"
android:layout_width="280dp"
android:layout_height="59dp"
android:layout_below="@+id/imageView"
android:layout_centerHorizontal="true"
android:background="@xml/my_border"
android:gravity="bottom|left|center_horizontal"
android:hint="Username"
android:paddingBottom="10dp"
android:paddingLeft="10dp"
android:selectAllOnFocus="true"
android:shadowColor="@color/pantoneC10"
android:singleLine="true"
android:textColorHighlight="@color/pantoneC10"
android:textColorHint="@color/pantoneC10"
android:textColorLink="@color/pantoneC10"
android:textSelectHandle="@color/pantoneC10" />
</android.support.design.widget.TextInputLayout>
当我选择要输入的EditText时,提示的颜色是bordeux。我想要它蓝色。我能怎么做? 谢谢!