X Xenno Member Licensed User Aug 20, 2018 #1 Hello, Anybody have a solution to change size of hint text of DSFloatLabelEditText ? Despite their default hint text color, EditText and FloatLabeledEditText can show hint text in normal size (see attachment). TIA, Attachments Capture.JPG 19.6 KB · Views: 723
Hello, Anybody have a solution to change size of hint text of DSFloatLabelEditText ? Despite their default hint text color, EditText and FloatLabeledEditText can show hint text in normal size (see attachment). TIA,
Semen Matusovskiy Well-Known Member Licensed User Aug 21, 2018 #2 If you mean "small" hint, when DSFloatLabelEditText has a focus, it's possible to change using setHintTextAppearance Unlike https://developer.android.com/reference/android/support/design/widget/TextInputLayout talks "added in version 23.4.0", this function works in API 21 also. Attachments test.zip test.zip 7.6 KB · Views: 682 Upvote 0
If you mean "small" hint, when DSFloatLabelEditText has a focus, it's possible to change using setHintTextAppearance Unlike https://developer.android.com/reference/android/support/design/widget/TextInputLayout talks "added in version 23.4.0", this function works in API 21 also.
X Xenno Member Licensed User Aug 21, 2018 #3 Semen Matusovskiy said: If you mean "small" hint, when DSFloatLabelEditText has a focus, it's possible to change using setHintTextAppearance Unlike https://developer.android.com/reference/android/support/design/widget/TextInputLayout talks "added in version 23.4.0", this function works in API 21 also. Click to expand... Thank you very much! So, now I understand it needs rather complex workaround. I hope I would be sucess to adapt your solution without XmlLayoutBuilder. I am still a beginner; I use the Designer a lot and set some properties of the views in there and in code. Cheers. Upvote 0
Semen Matusovskiy said: If you mean "small" hint, when DSFloatLabelEditText has a focus, it's possible to change using setHintTextAppearance Unlike https://developer.android.com/reference/android/support/design/widget/TextInputLayout talks "added in version 23.4.0", this function works in API 21 also. Click to expand... Thank you very much! So, now I understand it needs rather complex workaround. I hope I would be sucess to adapt your solution without XmlLayoutBuilder. I am still a beginner; I use the Designer a lot and set some properties of the views in there and in code. Cheers.