I am trying to make the bottom corners of a focused filled TextInputLayout rounded. Here's a screenshot of what I want to achieve.
I am setting the properties boxCornerRadiusBottomStart and boxCornerRadiusBottomEnd to 4dp for example, but the bottom corners of the TextInputLayout are then only rounded when it's not focused. As long as it's focused, the corners are not rounded anymore. Here's a screenshot of what I am seeing now:
I am beginner to Android development but I'll try to answer and if their are any mistakes please correct me
I would prefer you to create a drawable resource file from base Shape and try to add this:
<corners android:bottomLeftRadius = "4dp"
android:bottomRightRadius = "4dp" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.