可以解决TextInputLayout中的渲染问题吗?

问题描述

Render problem
      Couldn't resolve resource @string/path_password_strike_through
      <transition> tag requires a 'drawable' attribute or child tag defining a drawable
other problem
    can't morph from #string/path_password_eye_mask_strike_through to #string/path_password_eye_mask_visible
XML CODE
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".uploadDrawings"
    android:orientation="vertical">
   
    <android.support.design.widget.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Profile Name">

        <EditText
            android:id="@+id/username"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="8dp"
            android:backgroundTint="@color/endblue"
            android:inputType="text"
            android:textColor="@color/black"
            android:textColorHint="@color/grey"
            android:maxLength="50"/>
    </android.support.design.widget.TextInputLayout>

   
</LinearLayout>

尝试使用textInputLayout添加浮动提示,但是当我在xml文件中看到预览时,上面提到了一些问题...。 任何解决方案????????

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)