westmeadboy wrote:
> I'm inflating them using: inflate(R.layout.whatever, null)
> 
> I just tried it your way but I get the same result.

Phooey. That solves some layout problems with list rows, though usually
with RelativeLayouts as rows, not just TextViews. I figured it was worth
a shot.

> BTW, in getView(), I never reuse the convertView. I just inflate a new
> one each time.

Please recycle!

http://commonsware.com/Android/excerpt.pdf

> Anyway, isn't it odd that windowIsFloating should affect things in
> this way?

Oh, it's certainly odd. I'm just trying to figure out if it's odd
because there's a problem in your implementation that it is uncovering,
or if it is odd because of a problem in Android. The former is probably
fixable.

I am assuming that the actual ListView is the proper width, given your
described symptoms.

On a whim, try setting the width to some fixed value that's going to be
bigger than what wrap_content is giving you. Does that take effect? This
isn't a long-term solution, mind you -- I'm just trying to figure out if
you have control over the row widths at all.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Online Training: 26-30 April 2010: http://onlc.com

-- 
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

Reply via email to