Go Back   Android Forums > Android Discussion > Android Lounge
Android Lounge A place for general Android discussion and questions.
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old 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
Post 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

vaishnavi_s is offline  
Reply With Quote
Sponsors
Reply
Tags
android 2.1, layout problems, listview layout


Go Back   Android Forums > Android Discussion > Android Lounge
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:27 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.