Dynamically extend the height of the ListView row background image?

by javame_android » Fri, 23 Apr 2010 18:14:21 GMT


Sponsored Links
 Hi,

I am loading a listview dynamically. I have set a .9.png image as row
background image. The main purpose of using .9.png image was to extend
the height of the image dynamically according to the contents of the
listview.

But, the image is not getting extended. The contents which can be
displayed within the height of the row are being displayed and the
rest are being cut.

Can someone let me know a proper way of doing this?


Regards
Sunil

--



Other Threads

1. How to determine when a ScrollView has reached the bottom

I have a TextView inside a ScrollView and I have loaded it with a
bunch of text.  When the ScrollView gets to the bottom/top I would
like to load the TextView with new data BUT there doesn't appear to be
any way to find out when you have reached either location.  Could some
one help me out with this?  How can this be done?
--~--~---------~--~----~------------~-------~--~----~

2. Gallery and setSelection

Hi i have a gallery created from code and it has
OnItemSelectedListener .
I set selected item from the code by mGallery.setSelection(idx);
and expect a callback into my  onItemSelected
But it't doesn't happen - how i can trigger onItemSelected to get hit
from code ?

thanks Alex
--~--~---------~--~----~------------~-------~--~----~

3. Changing background style of MenuItem

4. Overlay

5. InputMethodService

6. about ril_commands.h

7. Can javax.xml.parsers.DocumentBuilder be used to parse html?