我有一个错误:c:\users\juan\androidstudioprojects\dermaapp\app\src\main\res\layout\activity\u login.xml:33:aapt:error:找不到属性starticondrawable(aka com.example.example:starticondrawable)。
错误在xml的这一行:app:starticondrawable=“@drawable/ic\u电子邮件”
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinputlayoutCorreo"
app:startIconDrawable="@drawable/ic_email"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="299dp"
android:layout_height="80dp"
android:hint="Correo"
android:textColor="@color/colorNegro"
app:counterEnabled="true"
app:counterMaxLength="30"
app:helperText="Requerido"
app:layout_constraintBottom_toTopOf="@+id/textinputlayoutContrasena"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginBottom="10dp">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/editTextcorreo"
android:layout_width="300dp"
android:layout_height="54dp"
android:inputType="textEmailAddress"
android:textColor="@color/colorNegro"
android:maxLength="30"
android:textStyle="bold" />
</com.google.android.material.textfield.TextInputLayout>
暂无答案!
目前还没有任何答案,快来回答吧!