I am trying to create tabstrips that will be based on a list. The list will contain items (basically strings) added by users. For each tabstrip i want to create a button per item on the list.The buttons will basically have a width of 40dip and height of 40dip. So each tabstrip will hold something like (Activity.width/button.width)*(Activity.height/button.height) buttons.
Because i don't know how many items will be added to the list, how can i loop through the list and add a tabstrip that basically holds (Activity.width/button.width)*(Activity.height/button.height) buttons?
I can loop through the list and create the buttons but i need another loop that creates the tabstrips that will hold the buttons. Kindly assist
Because i don't know how many items will be added to the list, how can i loop through the list and add a tabstrip that basically holds (Activity.width/button.width)*(Activity.height/button.height) buttons?
I can loop through the list and create the buttons but i need another loop that creates the tabstrips that will hold the buttons. Kindly assist
Last edited: