-
Notifications
You must be signed in to change notification settings - Fork 15
4 Clock view : Stopwatch
Belkilani Ahmed Radhouane edited this page Jan 7, 2020
·
8 revisions
A stopwatch is a handheld timepiece designed to measure the amount of time that elapses between its activation and deactivation.
Using Clock class developers can call for all stopwatch features by setting the clock type either using XML or Java implementation.
<com.arbelkilani.clock.Clock
android:id="@+id/clock"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:clock_type="stopwatch" />
Clock clock = findViewById(R.id.clock);
clock.setStyle(ClockType.ClockType.stopwatch);
Developed by : Belkilani Ahmed Radhouane