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.balda...@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.balda...@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.balda...@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.balda...@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.balda...@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 <tom...@ostebaronen.dk>
>>>>> wrote:
>>>>>>
>>>>>> I am interested in seeing that code :)
>>>>>>
>>>>>> On Mon, Jan 30, 2012 at 9:58 AM, Benjamin Baldacci
>>>>>> <benjamin.balda...@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
>>>>>> > <tom...@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
>>>>>> >> <p...@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@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@lists.ximian.com
>>>>>> >>
>>>>>> >> UNSUBSCRIBE INFORMATION:
>>>>>> >> http://lists.ximian.com/mailman/listinfo/monodroid
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > Monodroid mailing list
>>>>>> > Monodroid@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@lists.ximian.com
>>>>>>
>>>>>> UNSUBSCRIBE INFORMATION:
>>>>>> http://lists.ximian.com/mailman/listinfo/monodroid
>>>>>
>>>>>
>>>>
>>>
>>
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid@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@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to