[android-developers] Re: How to change the divider height of listview dynamically?

2010-06-17 Thread javame_android
Hi, Can you let me know how can one return two different views from getView method? I am able to return the row from the getView method but have no idea about how to return the listview height. Let me know how to do that in case you know it. Thanks Regards Sunil -- You received this

Re: [android-developers] Re: How to change the divider height of listview dynamically?

2010-06-17 Thread Mark Murphy
On Thu, Jun 17, 2010 at 10:52 AM, javame_android su...@softwebsolutions.com wrote: Can you let me know how can one return two different views from getView method? Override getViewTypeCount() and getItemViewType() in your Adapter. -- Mark Murphy CommonsWare mmur...@commonsware.com

[android-developers] Re: How to change the divider height of listview dynamically?

2010-05-01 Thread skink
On May 1, 7:38 am, javame_android su...@softwebsolutions.com wrote: Hi, I have a listview in which there should be different divider height between different rows. So, how can we set the divider height dynamically? Suppose, I have 10 rows and there should be a divider height of 5 between

[android-developers] Re: How to change the divider height of listview dynamically?

2010-05-01 Thread javame_android
Hi, How do I implement it? Is it actually possible? Please let me know if you know the way of implementing it in an Adapter. Regards Sunil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: How to change the divider height of listview dynamically?

2010-05-01 Thread skink
On May 1, 8:20 am, javame_android su...@softwebsolutions.com wrote: Hi, How do I implement it? Is it actually possible? Please let me know if you know the way of implementing it in an Adapter. Regards Sunil simply from getView return a view which has your normal view at the top and