in that case you can extend Gallery widget and then set a dependent
gallery.
setDependetn(Gallery g)
{
dependent=g;
}
Override onscroll, onfling methods etc
in that
lets say
Onscroll{
if(there is dependent)
{
dependent.callDepenteonScroll()
}
return super.onscroll();
}
CalldependeentonScroll()
{
dependetn.onscroll();
}
I am still having issues with on tap and other events. If u fling or scroll
works great there are other issues like on single press tap etc. Not working
great on these one.
Also you have to look at onItemselectedlistender to set the item on
dependent
Hope that helps
If you have a better way let me know as I am not sure what else I can do to
make this work better.
On Fri, Feb 19, 2010 at 11:02 AM, racx182 <[email protected]> wrote:
> social hub,
>
> I meant stacked as in one below the other one.
>
> thanks
>
> On Feb 18, 3:00 pm, social hub <[email protected]> wrote:
> > sorry stack u mean in z axis or one below the other. I may have solution
> for
> > the one below the other not the other case i guess.
> >
> > On Thu, Feb 18, 2010 at 1:59 PM, racx182 <[email protected]> wrote:
> > > I am stacking two galleries on top of each other... I know no other
> > > way to do this than to include two galleries in a layout. The one
> > > that's last added is the one that will properly scroll. Work around?
> >
> > > On Feb 18, 11:51 am, social hub <[email protected]> wrote:
> > > > I am also having the same issue
> >
> > > > But do u need multiple galleries in a layout can you create a view
> that
> > > > encompasses all your child and give that to the gallery view in such
> a
> > > case
> > > > u need only one gallery.
> >
> > > > On Thu, Feb 18, 2010 at 10:20 AM, racx182 <[email protected]>
> wrote:
> > > > > Does anyone have any solution for placing multiple Galleries on a
> > > > > layout? The problem is only one Gallery will scroll with multiple
> > > > > Galleries on a layout. The other Galleries won't work. Anyone know
> a
> > > > > workaround ?
> >
> > > > > Thanks
> >
> > > > > --
> > > > > 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]<android-developers%[email protected]>
> <android-developers%[email protected]<android-developers%[email protected]>
> ><android-developers%2Bunsubs
> > > [email protected]>
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
> >
> > > --
> > > 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]<android-developers%[email protected]>
> <android-developers%[email protected]<android-developers%[email protected]>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
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