> I can add a header to my listview within another activity with:
>
> list = (ListView) findViewById(R.layout.list_view);
>
> View v = View.inflate(this, R.layout.skill_list_header, null);
>         TextView t = (TextView) v.findViewById(R.id.skillHeader);
>         list.addHeaderView(v);
>
> this doesnt work however for ListActivity.

It should. You can ask the ListActivity to getListView(), IIRC.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

Reply via email to