Set the MainActivity frame.