Change size of the Label text
Closed this issue · 6 comments
manuellq commented
Sometimes the size of the label text is too big and take two lines so when the edit text has the focus it animate to the top it still taking two lines but now there are enough space to fill it in one line
HITGIF commented
You can use getFloatingLabel()
then customize it.
HITGIF commented
But why it's too big..?
Can you provide screenshot?
manuellq commented
HITGIF commented
Well... this much information is improper to be put in the label as it would drastically worsen the user experience... You should try to keep the label concise and use a hint for additional information :)
manuellq commented
I'm complete agree with you but is there any chance to change the size of the label when the Edit text has not the focus.
HITGIF commented
Did customizing getFloatingLabel()
work?