xamarin / AndroidSupportComponents

Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
MIT License
146 stars 56 forks source link

TextInputLayout not support method setDefaultHintTextColor, setErrorTextColor #119

Closed rsgrey closed 6 years ago

rsgrey commented 6 years ago

Xamarin.Android Version:

Xamarin.Android 9.0.19

Operating System & Version:

Windows 10

Support Libraries Version:

28.0.0-preview

Describe your Issue:

TextInputLayout in Xamarin does not support method setDefaultHintTextColor, setErrorTextColor

Sample Java:

TextInputLayout text = findViewById(R.id.text);
text.setDefaultHintTextColor(color);

It is very important for me

newky2k commented 6 years ago

@rsgrey could please provide a sample project which demonstrates the issue you've reported

Regards

rsgrey commented 6 years ago

Java sample project or Xamarin project? Textinputlayout does not contain methods setDefaultHintTextColor, setErrorTextColor in Xamarin, which are present at Java library android.support.design 28.0.0

https://developer.android.com/reference/com/google/android/material/textfield/TextInputLayout#setdefaulthinttextcolor

https://developer.android.com/reference/com/google/android/material/textfield/TextInputLayout#seterrortextcolor

newky2k commented 6 years ago

@rsgrey Xamarin please

rsgrey commented 6 years ago

Sorry, I am stupid. Compilation Version was not 9.0.

newky2k commented 6 years ago

@rsgrey Thats good news, that you found the issue

Regards