Hint Property text disappears in EditText after applying @string

111 views Asked by At

I applied a Hint property to my EditText element and the IDE says the I should hardcode an @string variable. So I go to my strings.xml and create a variable for it and then apply it to the Hint property. After saving my work, the text in the Hint property disappears. Please how can I fix this?

1

There are 1 answers

0
IamEternal On

Sorry All. It seems my IDE needed a restart. Why that happened,I do not know but all is working fine now.