use support version of GridLayout and use correct namespace for some attributes