Question: ANDROID STUDIO Design a pizza ordering mobile application. This application will need to allow the user to customize their pizza, inform the user what the

ANDROID STUDIO Design a pizza ordering mobile application. This application will need to allow the user to customize their pizza, inform the user what the total price of the order is. After the user submit the order, the order details will be displayed. Assume each customer can only order one pizza.

1. The user interface (UI)

MainPage:

  • Toppings must include but not limited to the following options (such as checkboxes or Spinner): Pepperoni, Chicken, Mushroom, Green Pepper, Olive, Extra cheese
  • Size options include Small / Medium / Large (such as Radio Buttons, or Spinner)
  • Include pizza pictures in the design
  • Next Button

After clicking the next button, the customer page will be launched. The pizza choices will be passed to the customer page.

The students will decide the price for each option.

CustomerPage:

  • Customer Information:
    • Customer name
    • Phone number
    • Email
    • Address
  • Receipt Information area (such as TextView)
  • Submit Button
    • After clicking the submit button, the order details including pizza toppings, pizza size, pizza price and customer information will be displayed in the receipt information area

2. Model

Create a separate class to store order details including:

customer name, phone number, email, address, pizza toppings, pizza size and order price.

The separate class should include one method to calculate the order price.

3. Handle Rotations and restore activity state (20 points)

1) Save and restore activity state(UI states) after the user rotates the device.

2) Provide a different layout file for landscape orientation.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!