Can I have a scrolling element inside another?

by Romain Guy » Mon, 17 May 2010 15:53:07 GMT

Sponsored Links
 No you can't and it's not a bug. It's on purpose because with a touch
screen nested scrollable elements can be very awkward/difficult to

Don't give your EditText a limit. The whole point of putting it in a
ScrollView is that you don't have to give it a limited size. Just use
wrap_content for the height and no maxLines.

Romain Guy
Android framework engineer

Note: please don't send private questions to me, as I don't have time
to provide private support. All such questions should be posted on
public forums, where I and others can see and answer them


Can I have a scrolling element inside another?

by mongd » Mon, 17 May 2010 15:59:44 GMT

 Thank you Romain! You saved me =D!!


Sponsored Links

Other Threads

1. OutOfMemoryError BitmapFactory.nativeDecodeByteArray inside Threads

I've run into this exact same problem a number of times myself. Not
sure if its a bug or just a limitation of the jvm, can't seem to
process more than a few large bitmaps without this occuring, this
always seems to occur when decoding bitmaps from file. Hopefully its
on the radar as a bug and will get fixed at some point. This is a
problem since de-coding bitmaps from file is a fairly common



2. Micro SD Memory for G1 Recommendations

I am trying to determine what Micro SD Card is best for the G1.  I am
confused by the various technology designations ... class 2-6, SD vs
SDHC.  Size vs reliability.  Sweet spot cost-wise.

I would choose the most reliable/fastest over the largest.  I have
searched for this info online, perhaps I just need search word help!



3. Integrating 3rd party static library

4. android.telephony

5. Dialog Survival Over Configuration Change

6. What is wrong with this layout

7. Looking for a way to build resolution independent layout xml?