gpt4 book ai didi

java - 为什么总是属性android :hintTextColor not found

转载 作者:行者123 更新时间:2023-12-04 23:55:57 24 4
gpt4 key购买 nike

我总是出现却找不到

未找到属性 android:hintTextColor。

<EditText
android:id="@+id/editTextTextPassword"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="249dp"
android:autofillHints=""
android:ems="10"
android:hint="@string/password_msg"
android:hintTextColor="#757575"
android:inputType="textPassword"
android:minHeight="48dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

请帮助我。谢谢。

最佳答案

android:hintTextColor="#757575" 不是 TextView/EditText 属性,而是 android:textColorHint="#757575" 是,查看 DOC

hintTextColor is param of TextInputLayout , 你可能混合了一些命名:)

关于java - 为什么总是属性android :hintTextColor not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69000944/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com