layout fix, added gradle scripts, fix in date4j