SyntaxFix
Write A Post
Hire A Developer
Questions
try using
LinearLayout linearLayout = (LinearLayout)findViewById(R.id.info); ... linearLayout.addView(valueTV);
also make sure that the layout params you're creating are LinearLayout.LayoutParams...