ScrollViewLayer(0).Initialize(0)
ScrollViewLayer(1).Initialize(0)
panels(0).Initialize("panels")
panels(1).Initialize("panels")
panels(0) = ScrollViewLayer(0).Panel
panels(1) = ScrollViewLayer(1).Panel
Activity.AddView(ScrollViewLayer(0), 100%x, 0, 100%x, 100%y) 'add the panel to the layout
Activity.AddView(ScrollViewLayer(1), 100%x, 0, 100%x, 100%y) 'add the panel to the layout
panels(0).LoadLayout("input")
panels(1).LoadLayout("output")
panels(0).Height = 1000dip
panels(1).Height = 1000dip