How to handle two listviews in my activity

by Ansha » Fri, 14 Jan 2011 21:14:15 GMT


Sponsored Links
 I have two listviews in my activity. Now my problem is that I wanted
to move both of them together and with same distance, and vice
versa(in vertically)...and also i want to scroll the second listview
horizontally with out overlap the first one.
Thanks
Ansha

-- 



Re: How to handle two listviews in my activity

by TreKing » Sat, 15 Jan 2011 03:29:48 GMT


 



Wire up events for when either scrolls and scroll the other by the same
amount.

and also i want to scroll the second listview horizontally with out overlap

ListViews are not designed to scroll horizontally.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Other Threads

1. Synopsis of SearchManager

Would anyone like to give me a Synopsis of SearchManager? Of the page
below?

SearchManager
http://developer.android.com/reference/android/app/SearchManager.html


+ Juan
--~--~---------~--~----~------------~-------~--~----~

2. Listening to services

Hi.

In my ideal little dream world, I'd like to have a custom service
running that handles network comms. Activities (e.g. UIs) then add
listeners to it and it provides callbacks when anything interesting
happens.

As it stands, I can't see how to do this in an appropriate way. OK,
you can call bindService() and have a ServiceConnection implementation
that monitors the service state. From there you can easily talk *to*
the service whenever you desire, using serialisation over
transactions, but I don't think that helps with communication
initiated by the service.

The only way I know of doing what I want is by maintaining static
collections of listeners on the service class, which doesn't strike me
as good engineering.

I suspect I'm missing part of the puzzle - any clues?

Cheers,
Rob

--~--~---------~--~----~------------~-------~--~----~

3. Use PreferenceCategory in a normal Activity?

4. Moving files to phone

5. TabHost + setTheme() = weird !

6. Android Market should allow app developer to respond to (unfair) comments

7. How selective are the Android Marketplace "police" in allowing our apps to be published?