我已經應用了android TextInputLayout
,它工作正常。但是當出現文本輸入佈局時,編輯文本變得非常慢。以及我已經改變了提示顏色,但它不工作。TextInputLayout漂浮標籤顯示緩慢
佈局XML:
<android.support.design.widget.TextInputLayout
android:id="@+id/register_input_layout_password"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLength="15"
android:lines="1"
android:id="@+id/Register_fragment_passwo_field"
android:hint="Password"
android:layout_gravity="center_vertical"
android:paddingLeft="35dp"
android:textColor="#ffffff"
android:textColorHint="@android:color/white"
android:layout_marginTop="5dp" />
</android.support.design.widget.TextInputLayout>
依賴:compile 'com.android.support:design:23.0.1'
你是怎麼改變的暗示色彩? –