added GridLayout v7 for API 8 and higher