Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

alexfu/CountDownView

Repository files navigation

⚠️ This project is no longer maintained.


CountDownView

A simple view that does a temporal count down with fields - Hours, Minutes and Seconds.

Installation

Pull in CountDownView from Jitpack.

allprojects {
  repositories {
    maven { url 'https://jitpack.io' }
  }
}

dependencies {
  implementation 'com.github.alexfu:CountDownView:0.1.0'
}

Usage

Include in your layout.

<com.alexfu.countdownview.CountDownView
    android:id="@+id/count_down"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textAppearance="@style/TextAppearance.AppCompat.Display1"
    app:startDuration="60000"/>

Then, in your Activity/Fragment, obtain the view and call start().

CountDownView countDownView = findViewById(R.id.count_down);
countDownView.start();

About

A simple countdown View for the Android framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages