It will work, make sure you have the orientation set to vertical for
the LinearLayout.

On Feb 8, 6:56 am, MobDev <developm...@mobilaria.com> wrote:
> Hi,
> I'd like to create an UI existing out of the following elements :
>
> <LinearLayout>
>     <TableLayout>
>         <TableRow>
>            <ImageButton>
>            <TextView>
>         </TableRow>
>    </TableLayout>
>    <ScrollView>
>       <TableLayout>
>          <TableRow>
>             <ImageButton>
>             <ImageButton>
>          </TableRow>
>           <TableRow>
>             <ImageButton>
>             <ImageButton>
>          </TableRow>
>           <TableRow>
>             <ImageButton>
>             <ImageButton>
>          </TableRow>
>       </TableLayout>
>     </ScrollView>
>
> So in short :
> A vertical LinearLayout, which contains first a TableLayout with just
> one TableRow, and afterwards a Scrollable Table...
>
> If I try it like above I actually will only see the first TableLayout,
> the ScrollView (with it's tabel and tablerows) won't show at all...
> I read that within a ScrollView there should be a LinearLayout and in
> there the TableLayout...
> So I did that and it works but ONLY if I completely remove the first
> TableLayout, which I actually want to keep..
>
> So is this some kind of know bug, or how could I possibly solve this ?
> Is it possible for a ScrollView to co-exist with another TableLayout
> (on the same XML "level") ? Or can it onky exits if it's the only
> child of the base-layout ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to