Elca is an android app written with java that calculates monthly costs and power usage of electronic stuffs. Elca created for Turkey's electricity price policity but since it is open source anyone can change the calculation algorithm according to their country or state.
In generally, Material design elements used wherever possible. For example: SnackBar, TextInputLayout, ToolBar. And also, AppCompat components used in generally for backwards compatibility.
Elca supports dark and light theme. With icon in toolbar, we can switch between themes. Users choices is remembering with SharedPreferences logic.
There is no package used for Splash Screen because the packages for Splash Screen downgrades min sdk version in the application. I've created an Activity, layout and theme for Splash Screen as mentioned in Atul Sharma's article.
For visualization of monthly power usage, I've used MPAndroidChart.
- Developing native android with java can be annoying. For example, creating a custom list view with RecyclerView is requires multiple java class, layouts and much more. But there is a benefit in there: the clean code.