August 18th, 2011, 01:07 AM
|
#1 (permalink)
|
|
New Member
Thread Author (OP)
Join Date: Jul 2011
Posts: 4
Device(s):
Carrier: Not Provided
Thanks: 0
Thanked 0 Times in 0 Posts
|
I want to connect two or more ListViews
hi,
I have a ListView, say l1 in a Linear Layout in my xml. Dynamically Im adding another ListView, say l2 to the LinearLayout. Its working fine, but when I run it on my mobile, each list (ie., l1 or l2) are floating on the screen.
My approach to solve this problem.
1. I wanted to fix both the ListViews to the layout. So, that they dont move and it will seem continuous. So I tried to remove scrollable action, thinking it would solve my problem. But couldnt do it, dint get good clue.
2. Next, I thought i will connect those ListViews by adding l2 as a footer to l1. Here also I faced a problem. When added l2 as a footer to l1, only the header of l2 was added as a footer to l1. The l2 body was missing.
How yo solve this issue.
I have spent more than three days in working with this. But, couldnt get a solution.
Please help me out.
Thanks
Vaishnavi
|
|
|