Skip to the content.


Logo

Xpensor

A Local Expense Tracker for Android
Screenshots · Requirements · Architecture · Technologies · License

Xpensor is a Local Expense Tracker App created in order to demonstrate the use of modern Android Development Practices, Android Architecture Components, Material Theming & Animations.

As of now, this project still has certain functionalities being worked on, althought its backbone is already set up.

🕹️ UI/UX 🕹️

This app provides a clean and simple Material-based Visual Feedback via Dialogs, Snackbars, Toasts and Bottom Sheets. It also enhances the user interfaces by providing visual cues to the user via animations, which are exaggerated to an extent, as this is an experimental app whose purpose is to showcase the use of several libraries and common design principles used in Android Development.

Some of the APIs and Motion Patterns used all around this app are ObjectAnimator, ViewPropertyAnimator and Material Motion Transition Patterns.

Bottom Items Settings Menu Date Selector Dialog Expense Bottom Sheet

📷 Screenshots 📷

This Project uses Material 3, the latest version of Google’s open source design system known as Material Design. It also supports Dark Theme, as evidenced by the screenshots below:

Accounts List Expenses Expenses Chart
Account Filter Date Selector Settings

📝 Requirements 📝

This project uses the Currency API in order to convert currencies. Hence, in order to run this project it is necessary to specify the API keys in the local.properties file, in the following way:

CURRENCY_API_KEY = "ReplaceThisForYourApiKey"

These fields are later on read in order to generate BuildConfig fields in the code, in the build.gradle.kts file from the App Module, in the following way:

// Read CURRENCY_API_TOKEN key from local.properties
val currencyApiToken: String = gradleLocalProperties(rootDir).getProperty(currencyApiKey)
buildConfigField("String", currencyApiKey, currencyApiToken)

For more information, feel free to visit the website.

🛠 Architecture 🛠

The architecture used in this project is that of Clean Architecture, sticking to the following layers:

1. Presentation: It’s the layer that interacts with the UI. In the Android ecosystem, this refers to Activities, Fragments and their respective ViewModels.

2. Domain: Contains the business logic of the application, composed primarily by the Use Cases and the Domain Model.

3. Data: Dispenses data to the app, which can be local (SQLLite Database) or remote (API).

clean_architecture

🦾 Technologies 🦾

This project uses many popular libraries and tools in the Android ecosystem:

🚀 Design Patterns 🚀

Some common Software Design Patterns that can be found in this project and are oftenly used in the Android Ecosystem.

🪶 Author(s) 🪶

Jon Areas, @jxareas.

“Constantly learning but trying to do things the best I can.”

📜 License 📜

MIT License

Copyright (c) 2022 Jonathan Areas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.