I have one table \"TABLE_SUBJECT\" which contain a number of subjects. I need to create one horizontal scroll view with Subject.
How do I create a ScrollView with da
you may create it as below:
ScrollView scroll = new ScrollView(context); scroll.setBackgroundColor(android.R.color.transparent); scroll.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); scroll.addView(yourTableView);