tags:

views:

11

answers:

0

Hi all,

In my android app, i have a particular scenario, for one of the screens.

I require 2 button,one on each side of the corner(left and right). Below this i want to populate data in a control.

If left button is clicked, the control should be a gridview. If right button is clicked , the control should be a listview.

And accordingly the data should be populated.

How should i approach this scenario. Should i create controls dynamically, or use xml instead

Rgds