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
In Kotlin you can use the below code
val scroll = ScrollView(context) scroll.setBackgroundColor(R.color.transparent) scroll.layoutParams = LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT ) scroll.addView(yourTableView)