有人知道#attribute值在這個XML文件中的含義是什麼?什麼是maxLength =「#長度」意味着在一個xml的android佈局文件?
<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屬性的含義和用法,問題在於它的值。
我也覺得是一種預處理的,但是,它不編譯...
初步搜索谷歌 –
可能是一種預處理? –
我已經在谷歌上搜索過它。 – Baima