Adding support for maxLength. Removing fitScreenWidth and matching parent dimens. Refactoring.