This is a sample project to demonstrate how to expand or collapse the calendar and at the same time adjust a listview below it.
[B4X] [XUI] [Old] AS CalendarAdvanced š - OneRow/FiveRow Calendar - Expand and Collapse [Payware]
This view was completely rewrite again https://www.b4x.com/android/forum/threads/b4x-xui-as-calendarexpandable%F0%9F%93%85-payware.146808/ Hey all, after almost a week of work and much frustration, I am proud to share with you a calendar view. The view is inspired on the calendar view in the...
www.b4x.com
Make sure you have V2.07
B4X:
Private Sub ASCalendarAdvanced1_HeightChanged(Height As Float)
'xpnl_main is a panel under the calendar with a xCLV in it
'same top a the calendar height
xpnl_main.Top = Height
xpnl_main.Height = Root.Height - Height
'height resize the xCLV
If xclv_main.AsView <> Null And xclv_main.AsView.IsInitialized = True Then
xclv_main.AsView.Height = xpnl_main.Height
xclv_main.Base_Resize(Root.Width,xpnl_main.Height)
End If
End Sub
Attachments
Last edited: