0

I am new to android and now i am developing client side application in android. I want to know can I put button , textbox and listview in an activity class.Usually we extends class from Activity but for listview extends from ListActivity.

thanks

sudo
  • 1,525
  • 7
  • 34
  • 59

1 Answers1

0

The ListActivity class is convenient when you want a single ListView to consume the screen, however a ListView does not require a ListActivity. You can place the ListView within your layout.xml and use it there as well.

mah
  • 39,056
  • 9
  • 76
  • 93