- Stroked border
- Border-crossing, floating placeholder
- No fill
Notes:
This class is intended for singleline text fields only. For a visually compatible multiline controller, use MDCTextInputControllerOutlinedTextArea
.
MDCTextInputControllerFilled (Preferred)

- Optional stroked border / underline
- Floating placeholder
- Colored fill
MDCTextInputControllerOutlinedTextArea (Preferred)

- Stroked border
- Border-crossing, floating placeholder
- No fill
Notes:
This class is intended for multiline text fields only. For a visually compatible singleline controller, use MDCTextInputControllerOutlined
.
MDCTextInputControllerUnderline

- Underline
- Optional floating of placeholder (default is to float)
- No fill
- “Classic” early Material Design look
MDCTextInputControllerFullWidth
- No border / underline
- Inline placeholder
- Optional fill
- No leading underline label
- Trailing underline label is inline with placeholder
MDCTextInputControllerLegacyDefault

- Underline
- Optional floating of placeholder (default is to float)
- No fill
- “Classic” early Material Design look
- Legacy clear button (X)
Notes:
This class has different layout behavior and sizing than MDCTextInputControllerDefault
but is included for backward compatibility.
MDCTextInputControllerLegacyFullWidth
- No border / underline
- Inline placeholder
- Optional fill
- No leading underline label
- Trailing underline label is inline with placeholder
- Legacy clear button (X)
Notes:
This class has different layout behavior and sizing than MDCTextInputControllerFullWidth
but is included for backward compatibility.