Sorry to interrupt
This code was fine, but crashed after the addition of the SdCalendarDialog control.
Error location: V.tag
B4X:
Dim no_list,weight_list As List
no_list.Initialize
weight_list.Initialize
Try
For Each v As View In Activity.GetAllViewsRecursive...