opatry / android-dev-challenge-compose-week2

Week #2 - Countdown timer

Home Page:https://android-developers.googleblog.com/2021/03/android-dev-challenge-2.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Countdown timer - Week #2

Workflow result

πŸ“œ Description

This app lists timers to launch at will for different needs. Each unit has its own indicator (for hours, minutes and seconds).

πŸ’‘ Motivation and Context

The main idea was to bring a really visual way to represent time, using distinct progress for each units with its own nested color circles. It was tough to deal with time arithmetic and smooth animation each seconds.

I'm kind of satisfied by final visual even if not perfect. I learn a lot with this challenge #2 (Animation, backdrop (incl. conceal/reveal using rememberCoroutineScope), time arithmetic, canvas composable, custom font, LazyColumn.stickyHeader).

πŸ“Έ Screenshots

🌞 Light Mode

Active timer Timers

🌚 Dark Mode

Active timer Timers

License

Copyright 2020 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.