List of usage examples for com.facebook.react.views.text DefaultStyleValuesUtil getDefaultTextColorHint
public static ColorStateList getDefaultTextColorHint(Context context)
From source file:fr.bamlab.textinput.ReactTextInputManager.java
License:Open Source License
@ReactProp(name = "placeholderTextColor", customType = "Color") public void setPlaceholderTextColor(ReactEditText view, @Nullable Integer color) { if (color == null) { view.setHintTextColor(DefaultStyleValuesUtil.getDefaultTextColorHint(view.getContext())); } else {// w ww. ja v a 2s . c om view.setHintTextColor(color); } }