You can specify a View id for the content of a tab. So in setContent
(int viewId) you would use something other than a ListView, ie, a view
that had a listview inside of it with a button on the bottom.

On Dec 8, 9:16 am, AJ <[email protected]> wrote:
> It looks the following link is explaining what do you want, but i am
> not sure. Check it.
>
> http://www.anddev.org/viewtopic.php?p=28745
>
> Thanks,
> AJ
>
> On Dec 8, 6:59 pm, Abhi <[email protected]> wrote:
>
> > can anyone help me on this topic please?
>
> > On Dec 8, 1:06 am, Abhi <[email protected]> wrote:
>
> > > Hello,
>
> > > I have a tab layout with two tabs, the first of which has a listview
> > > of 5 clickable rows. Below this listview, I need a button. I have been
> > > able to create the listview but don't know how to create the button to
> > > the bottom of the display. Please help.
>
> > > Also, the listview is created using ArrayAdapter from a Strings array,
> > > like below
>
> > > String[] istrings = new String[] ("I", "Me", "Myself");
> > > this.setListAdapter (new ArrayAdapter<String> (this,
> > > android.R.layout.simple_list_item_1, istrings));
>
> > > Looking forward to your help.
>
> > > Thanks,
>
> > > Sharma

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