GithubHelp home page GithubHelp logo

dev-iram / gradient-calculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 504 KB

Simple Calculator using Kotlin language with the Android Studio IDE. Features a gradient background.

Kotlin 100.00%
kotlin kotlin-android android android-studio android-app programming calculator gradient

gradient-calculator's Introduction

Gradient Calculator

Gradient Calculator Kotlin Simple Calculator app using Kotlin language with the Android Studio IDE. Features a gradient background.

✦ Programming Language; Kotlin
✦ UI Layout; XML
✦ Software Tools;
    ✧ Android Studio: IDE Used to create, compile and build application

Purpose

The purpose of this application is to run a simple calculator on an Android device. I designed the UI to be simple and easy to read, and therefore easy to use!

I wanted a simple UI design, so I implemented gradient backgrounds which change colours every few seconds that I believed helped me to achieve this. I used this application as a starting point to further my skills and knowledge in XML Layouts/UI Design in Android.

Within this application, I applied ConstraintLayout as the main layout for the XML layout. The XML layout uses only ConstraintLayout, with the use of the Table ViewGroup to help achieve rows and columns within the application for the placement of the calculator buttons. I also removed the action bar title from the application to ensure that the application is full screen and remains the center of the user's focus.

I used AnimationDrawable for the animation of the gradient background. Listeners (setOnClickListener, appendOnClick) for the use of the buttons and operators. Implemented the use of Toast message to display errors automatically generated when exceptions are caught.

More Information

✦ Minimum SDK: 28
✦ Application only runs in Portrait Mode (Landscape disabled).
✦ TextViews are scrollable when numbers length increases
✦ Simple calculations, such as: Addition, Subtraction, Division, Multiplication.

Application Screenshot

gradientcalculator

Application Icon

ic_launcher-playstore

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.