I've found it. In my case the ScrollView as actually inside a
ViewAnimator. So, I set the layout_weight for this ViewAnimator to 1
and it was solved :D.

On 26 nov, 20:44, MrSnowflake <[EMAIL PROTECTED]> wrote:
> How should we correctly use a ScrollView in a LinearLayout, where I
> want a static LinearLayout at the bottom of the main LinearLayout
> (let's call it layMain, the ScrollView just scroll and the bottom
> layBottom). An example (it's not a valid layout structure, only for
> demo):
> [syntax="xml"]<LinearLayout id="main">
> <ScrollView id="scroll"/>
> <LinearLayout id="layBottom" orientation="vertical" gravity="bottom">
>   <Button />
>   <Button />
> </LinearLayout>
> </LinearLayout>
> [/syntax]
> The problem is, when the view inside scroll grows bigger than the
> screen, either, scroll obscures layBottom, or scroll goes under
> layBottom, rendering the lower Views in scroll unusable.
>
> Does anyone have an idea? I tried putting it in a FrameLayout, and
> scroll goes underneath layBottom.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to