[mono-android] Gesture movement
Tomasz Cielecki
tomasz at ostebaronen.dk
Thu Feb 2 17:33:44 UTC 2012
Maybe you can find inspiration in my project :
https://github.com/Cheesebaron/MonoDroid.HorizontalPager
On Feb 2, 2012 5:52 PM, "Benjamin Baldacci" <benjamin.baldacci at gmail.com>
wrote:
> That's right... I didn't think to that.
>
> I'll try to think a way to do it.
> Thank's for your feedback ;)
>
> --
> Benjamin Baldacci linkedin <http://www.linkedin.com/in/benjaminbaldacci>
> Mobile : +33 6 32 45 63 79
>
>
> On Thu, Feb 2, 2012 at 16:26, Tomasz Cielecki <tomasz at ostebaronen.dk>wrote:
>
>> Looking through it now. Seems like a nice and very simple approach
>> using animations instead of a View to hold sub-views.
>>
>> It has one drawback:
>> - You cannot move the view half-ways to see what is in the view next
>> to it (just like a scroll view, just horizontally).
>>
>> Nice work though :)
>>
>> On Thu, Feb 2, 2012 at 3:31 PM, Benjamin Baldacci
>> <benjamin.baldacci at gmail.com> wrote:
>> > Did it help you?
>> >
>> >
>> > --
>> > Benjamin Baldacci linkedin
>> > Mobile : +33 6 32 45 63 79
>> >
>> >
>> > On Wed, Feb 1, 2012 at 08:57, Benjamin Baldacci
>> > <benjamin.baldacci at gmail.com> wrote:
>> >>
>> >> I don't know if you received my email (I got some trouble with it
>> >> yesterday).
>> >>
>> >> I said:
>> >> Here is the sample (benjaminbaldacci.com/SweepSample.zip)
>> >>
>> >> 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
>> >> Mobile : +33 6 32 45 63 79
>> >>
>> >>
>> >> On Tue, Jan 31, 2012 at 23:39, Benjamin Baldacci
>> >> <benjamin.baldacci at gmail.com> wrote:
>> >>>
>> >>> I forgot, this code work on Android 2.1 and newest versions (I code
>> only
>> >>> on 2.1 to maximize the number of end users).
>> >>>
>> >>>
>> >>> --
>> >>> Benjamin Baldacci linkedin
>> >>> Mobile : +33 6 32 45 63 79
>> >>>
>> >>>
>> >>> On Tue, Jan 31, 2012 at 23:37, Benjamin Baldacci
>> >>> <benjamin.baldacci at gmail.com> wrote:
>> >>>>
>> >>>> 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
>> >>>> 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
>> >>>>> 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
>> >>>>>
>> >>>>>
>> >>>>
>> >>>
>> >>
>> >
>> >
>> > _______________________________________________
>> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120202/ac1f3581/attachment-0001.html>
More information about the Monodroid
mailing list