I have to use TextInputLayout of design support library in my project. I want to give space between hint and EditText in TextInp
TextInputLayout
hint
EditText
TextInp
If the requirement is to add space between cursor and hint then you can try
editTextComment.setHint(" "+getString(R.string.add_a_comment));