1

Fragment layout limitation using Scrollview and tablelayout

view story
linux-howto

http://stackoverflow.com – I am a beginner in android dev, and I struggle with the following. I would like to create a Fragment with a tablelayout created programmatically. I first started in a Activity instead of a fragment I did that: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); View view = getLayoutInflater().inflate(R.layout.activity_testtable, null,false); fillLayout(view); setContentView(view); } protected void fillLayout(View rootView) { TableLayout tl; TableRow tr; TextView tv; int i = 0; tl = (TableLayout) rootVi (HowTos)