unnecessary layouts have been deleted and deprecated Api have been removed.