Days until, days since. A one-screen Android countdown from 2013, reborn in Kotlin and AndroidX.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dixon D'Cunha d36941960b
chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX
- 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
2026-06-28 00:36:40 -04:00
app chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
gradle/wrapper chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
.gitignore chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
build.gradle.kts chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
gradle.properties chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
gradlew chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
gradlew.bat chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
LICENSE chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
README.md chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00
settings.gradle.kts chore: modernise project from Eclipse/ADT to Gradle/Kotlin/AndroidX 2026-06-28 00:36:40 -04:00

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.