/Calculator-App-Android-Java

A beautiful and modern calculator app built using Java and Material Design for Android. This app provides a clean and user-friendly interface for basic arithmetic calculations.

Primary LanguageJavaMIT LicenseMIT

๐Ÿ“ฑ Material Design Calculator App

A beautiful and modern calculator app built using Java and Material Design for Android. This app provides a clean and user-friendly interface for basic arithmetic calculations.


โœจ Features

โœ… Material Design UI โ€“ Sleek and modern interface

โœ… Basic Arithmetic Operations โ€“ Addition, Subtraction, Multiplication, Division

โœ… Responsive Layout โ€“ Works on all screen sizes

โœ… Error Handling โ€“ Displays errors for invalid expressions

โœ… Lightweight & Fast โ€“ Minimal dependencies for smooth performance


๐Ÿ› ๏ธ Installation

  1. Clone the repository:
    git clone https://github.com/your-username/Calculator-App-Android-Java.git
  2. Open the project in Android Studio.
  3. Build and run the app on an emulator or a physical device.

๐Ÿ“‚ Project Structure

๐Ÿ“‚ Material-Calculator
 โ”œโ”€โ”€ ๐Ÿ“ app
 โ”‚   โ”œโ”€โ”€ ๐Ÿ“ src/main/java/com/app/calculator
 โ”‚   โ”‚   โ”œโ”€โ”€ MainActivity.java
 โ”‚   โ”œโ”€โ”€ ๐Ÿ“ res/layout
 โ”‚   โ”‚   โ”œโ”€โ”€ activity_main.xml
 โ”‚   โ”œโ”€โ”€ AndroidManifest.xml
 โ”‚
 โ”œโ”€โ”€ build.gradle
 โ”œโ”€โ”€ README.md

๐Ÿš€ Usage

  • Tap on the number buttons to enter a calculation.
  • Use +, -, ร—, and รท for arithmetic operations.
  • Press = to evaluate the expression.
  • Press C to clear the input.

๐Ÿ›  Dependencies

  • Exp4j (Expression evaluation):
    implementation 'net.objecthunter:exp4j:0.4.8'

๐Ÿ“œ License

This project is licensed under the MIT License.


๐ŸŒŸ Contributing

Feel free to fork this project and submit pull requests!


๐Ÿ“ง Contact

๐Ÿ“ฉ Akshay โ€“ akshaysunilmasram@yahoo.com

๐Ÿฆ Instagram โ€“ @coderx09

๐Ÿ“Œ GitHub โ€“ TutorialsAndroid

๐Ÿ“ฉ Telegram - Akshay