I can't use textInputLayout on Android Studio

Asked 1 years ago, Updated 1 years ago, 439 views

How do I use textInputLayout in Android studio?
I looked it up on Google and it seems that the support has already ended, so please let me know what I can do instead.

android-studio kotlin

2022-09-30 21:51

1 Answers

Hello, nice to meet you.

TextInputLayout is currently available as one of the material components within Androidx.I don't think I can use anything that was in the support library in the past.

Download the project from the Github below and load the project to see if it works. It is recommended that you check the catalog app.io.material.catalog.textfield you should be able to see examples of usage.

https://github.com/material-components/material-components-android

The usage itself is now a simple style, with additional libraries added to gradle.

https://material.io/develop/android/docs/getting-started

https://material.io/
https://developer.android.com/reference/com/google/android/material/classes
https://qiita.com/ehuthon-kd/items/7fb9b8c88ef6f040a7bf


2022-09-30 21:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.