correct custom edittext view in xml layouts