I\'m having issues with the addView method from LinearLayout. I don\'t know why, but if I add three views only the first one is displayed. Here is the code:
you do not declare the LinearLayout orientation... by default is Horizontal, try setting the orientation Vertical