Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Screenshot 2026-01-27 at 7 25 02 PM Screenshot 2026-01-27 at 7 24 08 PM Screenshot 2026-01-27 at 7 24 30 PM Screenshot 2026-01-27 at 7 24 49 PM

About

Basic Calculator in compose supporting both portrait and landscape, uses viewmodel and stateflow for a reactive UI and provides a fully functional calculator experience.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages