Create Custom class for TextInputLayout

In TextInputLayout I want to add TextInputEditText via Custom class Here is the code for custom class I have created : public class CustomTextInputEditText extends TextInputLayout { private TextInputEditText editText; public CustomTextInputEditText(@NonNull Context context) { this(context, null); } public CustomTextInputEditText(@NonNull Context context, @Nullable AttributeSet attrs) { this(context, attrs, R.style.Widget_MaterialComponents_TextInputLayout_OutlinedBox); } public CustomTextInputEditText(@NonNull Context context, @Nullable…

Details