Monday, May 30, 2011

[android-developers] Re: How to measure the item size(height) in listview

How is the list item height related to not being able to execute SQL
in your code and reading a string from a file?

On May 30, 5:51 pm, "GMail" <minilin...@gmail.com> wrote:
> I use a listview to display text in a textview,
> each listview item include a textview which display a single-line string.
>
> and I want to get the listview item size(height) now,
> I tried in "getView" method in adapter with method "convertView.getHeight()"
> but fail to get it.
>
> How can I get the size?
> thx a lot

--
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment