Answer the question
In order to leave comments, you need to log in
Align only new text entered in EditText, ignoring old one?
I have the following code:
if(position == 1) {
editText.setGravity(Gravity.CENTER);
editText.append("\n");
} else {
editText.setGravity(Gravity.START);
editText.append("\n");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question