Skip to content

Repository files navigation

Menu - Android Takeout Ordering App

An Android food ordering application built with Java, featuring a categorized menu display with recommended and must-buy sections.

Features

  • Two-column layout: Left side for category navigation, right side for menu items
  • Category switching: Switch between "推荐" (Recommended) and "进店必买" (Must Buy) categories
  • Menu list display: Each item shows image, name, monthly sales, rating, and price
  • Navigation bar: Top navigation with "点菜" (Order), "评价" (Reviews), "商家" (Merchant) tabs, plus a "好友拼单" (Group Order) button

Screenshots

Recommended Menu

Recommended Menu

Must Buy Menu

Must Buy Menu

Tech Stack

  • Language: Java
  • Min SDK: 21 (Android 5.0)
  • Target SDK: 33 (Android 13)
  • Architecture: Fragment-based UI with ListView
  • Key Components:
    • MainActivity - Main container with category switching logic
    • LeftFragment - Left category navigation panel
    • RightFragment - Right content panel displaying menu items
    • RightAdapter - Custom BaseAdapter for menu list
    • FoodBean - Data model with serialization support

Project Structure

app/src/main/java/cn/itcast/menu/
├── MainActivity.java      # Main activity with category switch logic
├── LeftFragment.java      # Left category navigation fragment
├── RightFragment.java     # Right content fragment with ListView
├── RightAdapter.java      # Custom adapter for menu items
└── FoodBean.java          # Food data model

Build & Run

  1. Open the project in Android Studio
  2. Sync Gradle dependencies
  3. Run on emulator or physical device (Android 5.0+)

License

This project is for educational purposes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages