[Free] TimeSelectView - A custom time selection view.

🧩 TimeSelectView

An extension for MIT App Inventor 2.
A custom time selection view developed by TechHamara using Fast. This component allows users to visually select time ranges within a 24-hour period. It features a circular interface with anchors for start and end times, degree markers, and number markers for each hour. The component is highly customizable, offering properties to change the appearance and behavior of the time selection view.
Telegram | GitHub
Blogger | YouTube
Find More Extension
Terms & Conditions

:memo: Specifications


:package: Package: io.th.timeselectview
:floppy_disk: Size: 26.34 KB
:gear: Version: 1.0
:iphone: Minimum API Level: 7
:date: Updated On: 2025-06-05T18:30:00Z
:computer: Built & documented using: FAST v2.8.4
Library zjun615 thank you for your awesome library.
:arrow_down: Download aix
io.th.timeselectview.aix (26.3 KB)
:arrow_down: Get aia here
time_select_view.aia (28.8 KB)
:placard: Get apk on GitHub here

Demo

blocks

Screenshot_2025-08-28-06-57-45-630_appinventor.ai_Techhamara91.time_select_view.jpg

Screenshot_2025-08-28-07-18-51-267_appinventor.ai_Techhamara91.time_select_view.jpg

Screenshot_2025-08-28-06-58-11-348_appinventor.ai_Techhamara91.time_select_view.jpg

55e7c248-3a0e-478e-ba9a-30d5e94435e7.gif

8682af1b-9738-4a70-b201-e6fed98b6307.gif

Blocks


TimeInserted_Event
TimeChanged_Event
SelectionStarted_Event
SelectionFinished_Event
SelectionChanged_Event


ClearTimeSections_Method
TimeSections_Method
TimeChangeListener_Method
Initialize_Method
GetTimeSections_Method


AnchorStartStrokeColor_Set_Property
AnchorStartColor_Set_Property
AnchorNeedMerge_Set_Property
AnchorEndTextColor_Set_Property
AnchorEndText_Set_Property
AnchorEndStrokeColor_Set_Property
AnchorEndColor_Set_Property
AnchorDiameter_Set_Property
SectionSum_Set_Property
SectionColor3_Set_Property
SectionColor2_Set_Property
SectionColor_Set_Property
RingWidth_Set_Property
RingBackgroundColor_Set_Property
QuickCutEnable_Set_Property
NumberSize_Set_Property
NumberColor_Set_Property
InitialMinutes_Set_Property
DegreeColor_Set_Property
AnchorTextSize_Set_Property
AnchorStrokeWidth_Set_Property
AnchorStartTextColor_Set_Property
AnchorStartText_Set_Property

Documentation

Events:

TimeSelectView has total 5 events.

TimeChanged

Event raised when time sections are changed

Parameter Type
timePartList list

TimeInserted

Event raised when a new time section is inserted

Parameter Type
part any

SelectionStarted

Event raised when time selection starts

Parameter Type
minute number

SelectionChanged

Event raised when time selection changes

Parameter Type
minute number

SelectionFinished

Event raised when time selection finishes

Methods:

TimeSelectView has total 5 methods.

Initialize

Initialize inside an arrangement.

Parameter Type
arrangement component

TimeChangeListener

Registers a listener to be notified when the selected time changes.

GetTimeSections

Get time sections

  • Return type: list

TimeSections

Set time sections. Example: SetTimeSections([TimePart(9, 10), TimePart(11, 12)])

Parameter Type
sections list

ClearTimeSections

Clear all time sections

Setters:

TimeSelectView has total 23 setter properties.

RingWidth

Width of the ring in dp

  • Input type: number

RingBackgroundColor

Background color of the ring

  • Input type: number

SectionColor

Color of the time sections

  • Input type: number

SectionColor2

Second color for gradient (optional)

  • Input type: number

SectionColor3

Third color for gradient (optional)

  • Input type: number

AnchorDiameter

Diameter of the anchor points in dp

  • Input type: number

AnchorStrokeWidth

Stroke width of anchor points in dp

  • Input type: number

AnchorTextSize

Text size of anchor points in sp

  • Input type: number

AnchorNeedMerge

Whether to merge overlapping anchors

  • Input type: boolean

AnchorStartColor

Color of the start anchor

  • Input type: number

AnchorStartStrokeColor

Stroke color of the start anchor

  • Input type: number

AnchorStartText

Text for the start anchor

  • Input type: text

AnchorStartTextColor

Text color of the start anchor

  • Input type: number

AnchorEndColor

Color of the end anchor

  • Input type: number

AnchorEndStrokeColor

Stroke color of the end anchor

  • Input type: number

AnchorEndText

Text for the end anchor

  • Input type: text

AnchorEndTextColor

Text color of the end anchor

  • Input type: number

DegreeColor

Color of the degree markers

  • Input type: number

NumberSize

Size of the number markers in sp

  • Input type: number

NumberColor

Color of the number markers

  • Input type: number

QuickCutEnable

Enable quick cut functionality

  • Input type: boolean

SectionSum

Maximum number of time sections allowed. For example, setting this to 5 will allow a maximum of 5 time sections to be created.

  • Input type: number

InitialMinutes

Initial minutes for new time sections

  • Input type: number

Thanks

  TechHamara 

Feel free to contact us any quarry or suggestions.

1 Like