code: private void initMaxLength() {
          if (max_length > 0) {
              setFilters(new InputFilter[]{new InputFilter.LengthFilter(max_length)});
          } else {
              if (null != getFilters()) {
                  setFilters(new InputFilter[]{});
              }
          }
      }
docs: 初始化输入长度限制