Layouts
1) I'm not sure. There is no documentation about it.
I think you have to tell the wrapper which is the view you have created.
I have created a wrapper of a scroll view.
So, to begin with, i create the scrollview (hsv) how i like it.
And after i tell the wrapper this is the scrollview.
2) I've created an horizontal scroll view
which contains a table layout
which contains several table rows
each containing text views.
The context (ba.context) is the same for all the views ( table layout, rows, ... ).
Then you add ( i mean addView )
a) the table layout to the scroll view
b) each table row to the table layout
c) each text view to the proper table row
I'm trying to figure out a simpler layout.
Using a relative layout.
I hope I have been clear.