Basic Calculator
A modern and basic Android Calculator app built with Jetpack Compose, supporting both portrait and landscape modes. The app uses ViewModel and StateFlow for a reactive UI and provides a fully functional calculator experience.
✨ Features
- Portrait & Landscape Support: Responsive UI for different orientations.
- Modern Android Architecture: MVVM pattern with ViewModel and StateFlow.
- Functional Calculator:
- Addition, subtraction, multiplication, division
- Clear (C) and Delete (⌫) functionality, decimal points
- Real-time calculation while typing
- Jetpack Compose UI:
- Custom buttons for portrait (circular) and landscape (rounded rectangle) modes
- Responsive layout with equal spacing between buttons
- Light and Dark Mode Support: Compatible with system themes
🛠 Tech Stack
- Language: Kotlin
- UI: Jetpack Compose
- Architecture: MVVM
- State Management: ViewModel + StateFlow
📸 Screenshots