On Mon, Sep 27, 2010 at 4:15 PM, Varun Khanduja <[email protected]>wrote:

> I am trying to declare two seperate buttons but only one of the buttons
> comes visible.
>

ListView takes one header view, AFAIK. Each function you have there returns
one button. Assuming you're calling listView.setHeader(buildHeader()) then
listView.setHeader(buildHeader2()), then the second call will overwrite the
first.

You should create a linear or relative layout that contains both buttons
then set THAT as the header view.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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