android eclipse dynamically set list adapters child TextView width
I have a list that is populated by a listadapter that specifies a layout like so:

    SimpleCursorAdapter trips = 
    new SimpleCursorAdapter(this, R.layout.it_menu_home_row, tripsCursor, from, to);

Inside of that layout is a textview.  I would like to be able to dynamically change the width of that textview through code.  I have tried just referencing the textview ID with findViewById, but when I try to manipulate it, I get a null pointer exception.

Is there a simple way reference the textview of a listadapters layout?


android eclipse dynamically set list adapters child TextView width
===

I have a list that is populated by a listadapter that specifies a layout like so:

    SimpleCursorAdapter trips = 
    new SimpleCursorAdapter(this, R.layout.it_menu_home_row, tripsCursor, from, to);

Inside of that layout is a textview.  I would like to be able to dynamically change the width of that textview through code.  I have tried just referencing the textview ID with findViewById, but when I try to manipulate it, I get a null pointer exception.

Is there a simple way reference the textview of a listadapters layout?

