How to programmatically set edit text hint in android? May 4, 2023 by Tarik Did you try the setHint? myTextView.setHint("My conditional hint"); Hope it helps..