Changed activities to linear layouts