Problem with addFooterView/AddHeaderView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Problem with addFooterView/AddHeaderView

Postby williamzanelli » Thu May 14, 2009 5:21 pm

Hi guys,

I have a small issue, I'm trying to add a a footer view, [some text and images below my listView]

I've cretaed the correpsonding XML for the images and text.

Code: Select all
TextView headerLogos = (TextView) findViewById(;
      headerLogos.setText("My Logos Header");

This throws a Null Pointer Exception.

Any ideas... what I;m doing wrong?

Thanks in advance.

Experienced Developer
Experienced Developer
Posts: 63
Joined: Mon Jan 05, 2009 2:37 am
Location: UK


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 2 guests