use header view with empty text On Tue, Dec 14, 2010 at 11:58 PM, bobetko <[email protected]> wrote:
> Can you please explain how to add topMargin to listView item at > position 0? > For example, I can add topPadding on first item using parameter > "position". Test if position is equal 0, add padding, if not, remove > padding. (I sort of not like this, but it seems it is the only way) > The thing is, I cannot do the same for Margin. I have to access > LayoutParameters in order to play with margin, and I simply don't know > how to do that. Whatever I tried caused my app to crash. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

