In my application I want use TextInputLayout and I want set border for this view.
Such as this image : Image
I write below codes :
<com.google.android.material.textfield.TextInputLayout android:id="@+id/loginFrag_phoneInputLayout" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/_15mdp" android:layout_marginLeft="@dimen/_15mdp" android:layout_marginTop="@dimen/_15mdp" android:layout_marginEnd="@dimen/_15mdp" android:layout_marginRight="@dimen/_15mdp" android:hint="@string/insertYourPhoneNumber" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/loginFrag_title"> <com.google.android.material.textfield.TextInputEditText android:id="@+id/signInFrag_phoneEdt" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/transparent" android:gravity="right|center_vertical" android:inputType="phone" android:maxLength="11" android:maxLines="1" android:paddingLeft="@dimen/_10mdp" android:paddingRight="@dimen/_10mdp" android:singleLine="true" android:textColorHint="@color/colorLightGray" android:textSize="@dimen/_10mdp" app:drawableRightCompat="@drawable/ic_phone" /> </com.google.android.material.textfield.TextInputLayout> I added this line :
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" But when update material design library to v1.3 not show me any border!
'com.google.android.material:material:1.3.0' But in v1.2 or v1.1 show me border and not any problem!
Why not show border in v1.3 ?
How can I fix it?
