Days until, days since. A one-screen Android countdown from 2013, reborn in Kotlin and AndroidX.
- Kotlin 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Replace Ant/Eclipse build with Gradle (Kotlin DSL), AGP 8.7.3, Kotlin 2.1.0 - Port Display.java → MainActivity.kt; use java.time, ViewBinding, ConstraintLayout - Rename package com.xidstudios → io.exikle.datecountdown - Drop AdMob 6.4.1 jar and android-support-v4.jar (unused; replaced by Gradle deps) - Remove Eclipse settings (.settings/, project.properties, proguard-project.txt) - Move launcher icons from drawable-* to mipmap-* per modern Android conventions - Update theme to Material 3 DayNight; minSdk 26, targetSdk/compileSdk 35 - Rewrite README, add MIT LICENSE, update .gitignore |
||
| app | ||
| gradle/wrapper | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
Date Countdown
A simple Android app that tells you how many days until a chosen date.
Pick a date using the date picker, tap Check Days Until Date, and the app shows:
- how many days remain (if the date is in the future)
- a confirmation if the date is today
- a notice if the date has already passed
Tech
| Language | Kotlin |
| Min SDK | 26 (Android 8.0 Oreo) |
| Target SDK | 35 (Android 15) |
| Build system | Gradle (Kotlin DSL) |
| UI | ConstraintLayout + Material 3 |
Project structure
app/src/main/
├── java/io/exikle/datecountdown/
│ └── MainActivity.kt # single-screen activity
└── res/
├── layout/activity_main.xml
├── mipmap-*/ic_launcher.png
└── values/
├── strings.xml
├── themes.xml
└── dimens.xml
Building
Requires Android Studio (Ladybug or newer) or the Android command-line tools with JDK 17+.
# First-time setup: generate the Gradle wrapper jar
gradle wrapper
# Build a debug APK
./gradlew assembleDebug
# Install on a connected device or emulator
./gradlew installDebug
Android Studio will handle the wrapper jar automatically on first sync.
History
Originally written in 2013 using Eclipse/ADT and the Ant build system. Preserved and modernised in 2026: migrated to Gradle, Kotlin, AndroidX, and Material 3.
License
Copyright 2013 Dixon D'Cunha. MIT License — see LICENSE.