Is there any way to create a textfield in java that will look like one in the picture below?

i want know if i can extends
Код: Выделить всё
EditTextКод: Выделить всё
EditTexti want make it bordered and the hint display inside the stroke like that shown in the image above.
thanks.
Источник: https://stackoverflow.com/questions/781 ... n-edittext
Мобильная версия