Add sample code and design with multi activities