Closed dumbasPL closed 2 years ago
Inside createNodeView method add below code (I am using frame layout as container)
FrameLayout.LayoutParams params= new FrameLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
params.leftMargin = (node.getLevel()-1)*50;
view.setLayoutParams(params);
@devendra2486 solution is working as intended. this issue can be closed
test code:
effect: Am i doing something wrong?