當我按下代碼 - >重新格式化代碼
佈局成爲這種形狀重新格式化代碼在android系統佈局
<android.support.design.widget.TextInputLayout android:id="@id/til_full_name"
android:layout_width="0dp" android:layout_height="wrap_content" app:errorEnabled="true"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_choose_picture"
app:layout_constraintVertical_bias="0.1">
<android.support.design.widget.TextInputEditText android:id="@id/et_full_name"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:drawableRight="@mipmap/name" android:gravity="right"
android:hint="@string/full_name" android:inputType="textCapWords" />
但我需要像這樣
<android.support.design.widget.TextInputLayout
android:id="@id/til_full_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:errorEnabled="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_choose_picture"
app:layout_constraintVertical_bias="0.1">
<android.support.design.widget.TextInputEditText
android:id="@id/et_full_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@mipmap/name"
android:gravity="right"
android:hint="@string/full_name"
android:inputType="textCapWords" />
我不知道是什麼改變了默認格式我試圖重置一切默認,但我需要一些幫助,這個問題
謝謝你,就是它總是包裹 –