A layout that contains two views vertically, and the middle divider is draggable for changing the splitted area
// vTop : top view
// vBottom : bottom view
BicontLayout doubleLayout = new BicontLayout(getContext(), vTop, vBottom);
setContentView(doubleLayout);