Junior Einsfeld wrote: > Hello people, > > I have a problem and need your help. > I have a class that extends the class ListActivity and in this class I > have a ListView. I must add two buttons after the ListView, but I am not > getting. > > The layout I don’t have defined into XML file. > > How can I do to display the two buttons on a line below my ListView?
Create a layout in an XML file, put your buttons below the ListView, and use that XML file in your setContentView() call in your ListActivity onCreate(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _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 Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---