我可以使用以下代码块创建TextInputLayout: TextInputLayout til = new TextInputLayout(this);
EditText et = new EditText但是我想要改变我动态创建的TextInputLaout的样式,我想使用@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.我尝试了以下代码块来更改<e
我想在editText.setEnables(false)时动态地更改boxBackgroundColor of TextInputLayout。另外,TextInputLayout (android.support.design.widget.TextInputLayout)没有像boxBackgroundColor这样的参数;( -它只是在AndroidX库(com.google.android.material.textfield.TextInputLayout)