A modern calculator app built with Jetpack Compose and a clean MVVM architecture. It features a stylish, user-friendly interface with a custom Material 3 theme that supports both light and dark modes.
| Light Mode | Dark Mode |
|---|---|
![]() |
![]() |
- Standard Arithmetic: Supports all basic operations (
+,-,×,÷). - Decimal Support: Full functionality for calculations with decimal numbers.
- Smart Backspace: Tap to delete the last character or long-press to clear all input.
- Adaptive Theme: Automatically switches between custom light and dark themes.
- UI: 100% Jetpack Compose for a modern, declarative UI.
- Architecture: Clean MVVM (Model-View-ViewModel) to ensure a scalable and maintainable codebase.
- Theming: Custom Material 3 theme generated with the Material Theme Builder.
- Language: Written entirely in Kotlin.
- Android Studio (latest stable version)
- JDK 17 or higher
- Clone the repository:
git clone https://github.com/Gaurav12480/Calculator.git
- Open in Android Studio:
- Open the project in Android Studio.
- Let Gradle sync all the project dependencies.
- Run the app:
- Select an emulator or a physical device.
- Click the "Run" button.
This project is licensed under the MIT License. See the LICENSE file for details.

