Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
Hi Mark, Thanks for your advice. I'd really like to do that as I know that will simplify things, unfortunately the scrolling nature of the background behind the 3 UI widgets is integral to the design (a port of an iPhone app, that had the same challenge as it turns out). Looks like for now

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
I've opened a feature request related to this: http://code.google.com/p/android/issues/detail?id=12007 Again I completely appreciate ListView was designed for efficient scrolling through large amounts of data and not for what I need, but we do not yet have a good alternative for short (static)

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Mark Murphy
There is no particular reason why Google needs to write this. Anybody can write this and make it a reusable component. A knee-jerk reaction of if it's lime green, Google must write it is a sad statement. On Wed, Oct 20, 2010 at 8:26 AM, Richard Leggett richard.legg...@gmail.com wrote: I've

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
There's no reason for them to write anything but they are hopefully looking to create the best developer platform. I am working on this myself, but the whole purpose of the public bug/feature database (and this list) is to make suggestions that may help others in future. On 20 Oct 2010, at

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
Apologies to Stakka the original poster, looks like I hijacked a thread unintentionally (replying to an email and changing subject rather than creating a new email doesn't create a new Thread on this group). On 20 Oct 2010, at 13:39, Richard Leggett wrote: There's no reason for them to write

[android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-19 Thread Richard Leggett
Hi All, I know this has come up a few times in the past, and the best advice is to avoid having ListViews inside a ScrollView entirely (instead using addHeaderView()/addFooterView() or doing it manually with a LinearLayout, but I just wanted to see what best practices people might put forward

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-19 Thread Mark Murphy
On Tue, Oct 19, 2010 at 11:00 AM, Richard Leggett richard.legg...@gmail.com wrote: I'm keen to see if anyone has a better solution to this problem? Get rid of the background. You are taking on a fairly substantial maintenance headache for the sake of a background image. -- Mark Murphy (a

[android-developers] Listview inside ScrollView doesn't expand

2009-12-04 Thread Dustin
I have a layout that needs to scroll off the screen because it contains a lot of fields. The top 1/2 of the screen will contain fixed-width and fixed-height TextViews. However, the bottom 1/2 will contain two dynamically-sized widgets; a TextView and a ListView. The bottom TextView may be 1 line

Re: [android-developers] Listview inside ScrollView doesn't expand

2009-12-04 Thread Romain Guy
If you want a ListView to expand completely and you want it to not have scrollbars, then you dont' want a ListView. ListView and ScrollView cannot be used embedded within one another since they compete for scrolling. On Fri, Dec 4, 2009 at 9:41 AM, Dustin dustin.bre...@gmail.com wrote: I have a

[android-developers] ListView in ScrollView

2008-06-27 Thread kelvin
I know that this topic has been covered many times in this group, but I still have a question I'm hoping to get answered. Referring to this thread, http://groups.google.com/group/android-developers/browse_thread/thread/3bfb013704d886fb/a556ab75f22c8dd1 hackbod wrote: The ScrollView gives its