有人知道这个 xml 文件中的#attribute 值是什么意思吗?
<EditText
android:id="@+id/firmaText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:ems="8"
android:textColor="@color/black"
android:textSize="14sp"
android:paddingLeft="5sp"
android:inputType="textPassword"
android:lines="1"
android:maxLength="#{longitud}"
android:text="#{pin}"/>
我知道 maxLength 属性的含义和用途,问题是它具有的值。
我也认为是一种预处理,但是,它不编译...
最佳答案
已解决,是库的语法错误。
感谢大家。
关于android - maxLength ="#length"在 xml android 布局文件中意味着什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38866577/