Android Example [B4X] AS CalendarAdvanced - Expand with xCLV

Expand with xCLV 001.gif

This is a sample project to demonstrate how to expand or collapse the calendar and at the same time adjust a listview below it.

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

  • Expand With xCLV.zip
    11.5 KB · Views: 439
Last edited:
Top