Android maxLength: 500
EditText ed=(EditText)findViewById(R.id.edittext);
int maxLength= //current maxlength + 10 // im looking for the current max length code to add it with 10
ed.setFilters(new InputFilter[]{new
InputFilter.LengthFilter(maxLength)});
The output will be a total of 510 maxLength character input in first click of button and on second click it will be 520 and so on and so fort.
Pretty straight forward
Since your first question wasn't very clear here is the update: