tags:

views:

24

answers:

1

I have a plain vanilla layout:

<ScrollView>
    <TableLayout>
        <TableRow>
            ...

but the content gets clipped by the ScrollViews scrollbar.

This link illustrates the issue:
http://books.google.com/books?id=7tH3A0UrWEEC&amp;lpg=PA54&amp;ots=zztpvVWPXT&amp;dq=android%20%22clipped%20by%20the%20scrollbar%22&amp;pg=PA54#v=onepage&amp;q&amp;f=false

How to avoid content clipped by ScrollView scrollbar ?

Edit:
Adding android:layout_marginRight="5dip" on ScrollView leaves ugly gap on righthand side of emulator screen. See below.

Any other tips ?

alt text

A: 

Basically, you just have to add a margin of 5 or 10px on the right, in your TableLayout!

Sephy
Adding android:layout_marginRight="5dip" on ScrollView leaves ugly gap on righthand side of emulator screen. See above.Any other tips ?
Oh sorry, that's not on the scrollview that you need to apply this, but on the tablelayout.Otherwise, as you showed it, you just resize the scrollview
Sephy