Fixed activity view layout issues