Vijay Bahirji wrote:
> Hi,
> 
> I am new to android and trying to create a customized list. Every item
> in the list has TextView and one Ratingbar. I now want add a couple of
> command buttons at the end of the list (like BACK, HOME, , NEXT). When
> I add these extra views to the layout xml file then they get added
> along with every item in the list. I think there should be another
> layout defined for the buttons to be displayed separate from the list.
> Anyone has an idea on how to do this?

Have two layout files. One is for the activity, one is for the rows in
the activity. The first you would use with setContentView(); the latter
you would either supply to your adapter or use when you manually inflate
the rows.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

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