Fixing wrong view group type when referencing to root element
in layout file.