Hi Group,

I have a problem with using ListView headers when scrolling with the
trackball.

I have replicated the problem by adding the below code to the List1
activity in the APIDemos (the top_story layout just wraps a TextView
in a LinearLayout).

LayoutInflater inflater = (LayoutInflater)
getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View v1 = inflater.inflate(R.layout.top_story, null);
getListView().addHeaderView(v1,null,false);

Basically the problem is that the entire header view changes size when
trying to drag it up in touch mode after you have scrolled down (far
enough to make the header disappear off screen) and then back up the
list with the trackball. This issue doesn't occur if you are only
using the list in touch mode.

Any advice or recommendations?

Thanks in advance.

Cheers,

Jason

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