Skip to content

Latest commit

 

History

History
103 lines (72 loc) · 4.36 KB

README_en.md

File metadata and controls

103 lines (72 loc) · 4.36 KB

Kotlin Projects Logo Restaurant Menu Application Kotlin Projects Logo

🌐 Português Español English Русский 中文 العربية

This repository contains the source code for an Android application that displays a restaurant menu. The application includes features to view a list of dishes, details of each dish, and navigation between screens.

Application Preview

🚀 Features

  1. Menu Home Screen:

    • Displays the restaurant logo.
    • Title of the home screen.
    • List of menu items.
  2. Dish Details Screen:

    • Displays the restaurant logo.
    • Title of the details screen.
    • Back button.
    • Image of the dish.
    • Title of the dish.
    • Description of the dish.
    • Price of the dish.
  3. Available Dishes List:

    • Includes dishes like Beef Fillet with Fries, Grilled Chicken with Vegetables, Mixed Grilled Beef Fillet and Chicken, among others.
    • Each dish has an image, description, and price.
  4. Menu Item Layout:

    • Uses MaterialCardView to display each menu item with an image and title.
  5. Click Events:

    • Navigation to the details screen when clicking on a menu item.
    • Return to the main screen when clicking the back button on the details screen.

🛠️ Technologies Used

  • Android SDK: For developing the Android application.
  • RecyclerView: To display the list of menu items.
  • Data Classes: To represent the dish data.
  • Adapters: To link the data to the user interface.
  • Layouts: Includes LinearLayout, ScrollView, and MaterialCardView to structure the screens.

⚙️ Project Setup

To run the project locally, follow the steps below:

Prerequisites

Cloning the Repository

  1. Clone the repository to your local machine:

    git clone git@github.com:SamuelRocha91/kotlinVirtualMenu.git
  2. Navigate to the project directory:

    cd kotlinVirtualMenu

Project Configuration

  1. Open the project in Android Studio.
  2. Ensure that Android Studio is configured to use JDK 11 or higher.
  3. Sync the project with Gradle:
    • In Android Studio, click on "File" > "Sync Project with Gradle Files".

Running the Project

  1. Connect an Android device to your computer or start an Android emulator.
  2. Run the application:
    • In Android Studio, click the "Run" button (play icon) at the top of the window.

📂 Directory Structure

  • app/src/main/java/com/example/trybevirtualmenu/: Source code of the application.
  • app/src/main/res/layout/: XML layout files.
  • app/src/main/res/drawable/: Images and other graphic resources.

📁 Other Kotlin Projects