I\'m trying to add multiple layouts dynamically under each other. So I wrote the following code:
for (int i = 1; i <= layoutCounter; i++) { Vie
Maybe with:
params.addRule(RelativeLayout.BELOW, layoutID-1);
instead of:
params.addRule(RelativeLayout.BELOW, neu.getId());
in your else condition.