I am trying to use the newest TextInputLayout in my DialogFragment.
Here\'s my code:
With recent announcement in Google I/O 2018, and refractor of com.android.
to androidx.
all support libraries got affected too.
So, you may have to change your dependencies to com.google.android.material:material:
as of 06th of July 2018, I am using
com.google.android.material:material:1.0.0-beta01
And above the class com.google.android.material.textfield.TextInputLayout
and com.google.android.material.textfield.TextInputEditText
Have a look at this link to get a better idea of what all support libraries got refractored.
Good luck.