Hi,
I am using a ScrollView as a child of an AbsoluteLayout to display a
list of items inside this AbsoluteLayout. Because the ScrollView is
embedded in the AbsoluteLayout's design, I want to restrict it's size
to fit the assigned area. Is there any way to set the height of the
ScrollView or of the RelativeLayout that is the child of my
ScrollView?
My layout.xml (with just the important tags):
<AbsoluteLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<...some TextViews...>
<ScrollView android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RelativeLayout android:layout_width="wrap_content"
android:layout_height="wrap_content">
<...some TextViews that I want to be able to scroll, all
with wrap_content...>
</RelativeLayout>
</ScrollView>
<...again, some TextViews in the main layout...>
</AbsoluteLayout>
To make it clearer, I have uploaded two images of what I am trying to
do:
http://drop.io/v8qobow/asset/current-jpg
http://drop.io/v8qobow/asset/goal-jpg
Thank you!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---