[mono-android] Gesture movement

Benjamin Baldacci benjamin.baldacci at gmail.com
Tue Jan 31 22:37:47 UTC 2012


Here is the sample \o/

Sorry for the no commented code, but I've no time until this week end.
This is a sample to sweep between 2 layout elements (here is RelativeLayout
containing buttons), but you can do it on what you want.

I will blog on it this week end on my blog to explain it (with a more
generic sample).
benjaminbaldacci.com/blog (the post will be in english ;)

Hope it will help you.

--
Benjamin Baldacci linkedin <http://www.linkedin.com/in/benjaminbaldacci>
Mobile : +33 6 32 45 63 79


On Tue, Jan 31, 2012 at 00:25, Benjamin Baldacci <
benjamin.baldacci at gmail.com> wrote:

> Sorry, didn't have time tonight,
> I'll write you a sample for tomorrow night (22h in Paris).
>
>
> --
> Benjamin Baldacci linkedin <http://www.linkedin.com/in/benjaminbaldacci>
> Mobile : +33 6 32 45 63 79
>
>
> On Mon, Jan 30, 2012 at 16:16, Tomasz Cielecki <tomasz at ostebaronen.dk>wrote:
>
>> I am interested in seeing that code :)
>>
>> On Mon, Jan 30, 2012 at 9:58 AM, Benjamin Baldacci
>> <benjamin.baldacci at gmail.com> wrote:
>> > You would like to make like a Pivot in WP7?
>> > If it is, I have some code to do it, but I have to modify it a bit.
>> >
>> > So if you're interested say me and I will do thoses modifications to
>> give
>> > you a sample ;)
>> >
>> > --
>> > Benjamin Baldacci linkedin
>> > Mobile : +33 6 32 45 63 79
>> >
>> >
>> >
>> > On Mon, Jan 30, 2012 at 00:59, Tomasz Cielecki <tomasz at ostebaronen.dk>
>> > wrote:
>> >>
>> >> If you mean something like a View Pager then I have made a port of
>> >> some Java code, which you can grab here:
>> >> https://github.com/Cheesebaron/MonoDroid.HorizontalPager
>> >>
>> >> Otherwise you will have to bind the ViewPager in the compatibility
>> >> pack through JNI which can be a bit tricky.
>> >>
>> >> On Sun, Jan 29, 2012 at 9:15 PM, Paul F. Johnson
>> >> <paul at all-the-johnsons.co.uk> wrote:
>> >> > Hi,
>> >> >
>> >> > Is there a simple way to enable moving between views using a left or
>> >> > right sweep? There seems to be a pile of things in Java, but none of
>> >> > them make any sense to me.
>> >> >
>> >> > What I have is an app which I'm designing to fit in with the
>> >> > Android/iOS/WinPhone UI (which it does oddly). Click the button on
>> the
>> >> > 1st view, it goes to the next view. However, I'd like it to go back
>> to
>> >> > the 1st view using a swipe left or right.
>> >> >
>> >> > Thanks
>> >> >
>> >> > Paul
>> >> > --
>> >> > Vertraue mir, ich weiss, was ich mache...
>> >> >
>> >> > _______________________________________________
>> >> > Monodroid mailing list
>> >> > Monodroid at lists.ximian.com
>> >> >
>> >> > UNSUBSCRIBE INFORMATION:
>> >> > http://lists.ximian.com/mailman/listinfo/monodroid
>> >>
>> >>
>> >>
>> >> --
>> >> Med Venlig Hilsen / With Best Regards
>> >> Tomasz Cielecki
>> >> http://ostebaronen.dk
>> >> _______________________________________________
>> >> Monodroid mailing list
>> >> Monodroid at lists.ximian.com
>> >>
>> >> UNSUBSCRIBE INFORMATION:
>> >> http://lists.ximian.com/mailman/listinfo/monodroid
>> >
>> >
>> >
>> > _______________________________________________
>> > Monodroid mailing list
>> > Monodroid at lists.ximian.com
>> >
>> > UNSUBSCRIBE INFORMATION:
>> > http://lists.ximian.com/mailman/listinfo/monodroid
>> >
>>
>>
>>
>> --
>> Med Venlig Hilsen / With Best Regards
>> Tomasz Cielecki
>> http://ostebaronen.dk
>> _______________________________________________
>> Monodroid mailing list
>> Monodroid at lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120131/f028bf13/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SweepSample.zip
Type: application/zip
Size: 23578 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120131/f028bf13/attachment-0001.zip>


More information about the Monodroid mailing list