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

Latest commit

 

History

History
13 lines (10 loc) · 473 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 473 Bytes

TimeEditText

Screenshot

A custom EditText (actually derived from TextView) to input time in 24h format.

Features:

  • It always shows the currently set time, so it's never empty.
  • Both virtual and physical keyboards can be used.
  • The current digit is highlighted; when a number on the keyboard is pressed, the digit is replaced.
  • Back key moves the cursor backward.
  • Space key moves the cursor forward.