Material-components-android: [TextInputLayout] Expose `floating label` background

Created on 23 May 2020  路  2Comments  路  Source: material-components/material-components-android

The floating label background becomes a problem when you are using a different background in your container. I should be able to set the floating label background="@null" assuming that the outline box won't be visible under the label.


Impl Screen



Design Screen


Or Am I missing something?

feature request

Most helpful comment

The submitted PR doesn't expose the collapsed hint background.
However it allows to achieve an empty background as shown in desired solution.

Detail

All 2 comments

+1

Trying to do the same. This comment on a different issue might be an okay workaround, but doesn't achieve exactly the look we're going for.

The submitted PR doesn't expose the collapsed hint background.
However it allows to achieve an empty background as shown in desired solution.

Detail

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielwilson1702 picture danielwilson1702  路  3Comments

mnayef95 picture mnayef95  路  3Comments

ataulm picture ataulm  路  3Comments

gabrielemariotti picture gabrielemariotti  路  3Comments

sepehr-alipour picture sepehr-alipour  路  3Comments