Copy the SlidingDrawer code into your app and modify it to work how you
want.  Just be sure to put them in your own package so they don't conflict
with the platform.

On Tue, May 26, 2009 at 3:27 PM, Parakoos <[email protected]> wrote:

>
> Hello,
>
> Is there an easy way to imitate the Launcher look and feel? I mean
> having three full screen views which can be switched between by
> sliding/dragging right or left.
>
> I had a look at the source code to see how it was done and found that
> the magic is done in the "com.android.launcher" package. I take it
> that it is inadvisable to use the same classes as those in that
> package due to them not being part of the official SDK and therefore
> up for change at any point?
>
> If so, is there a good way to get a similar effect from the official
> SDK? The SlidingDrawer would have given me what I needed if it was
> possible to have more than one defined, but that seems to not be
> supported. (the handles stack on top of each other)
>
> So you know what problem I'm trying to solve, here is some background:
> I've got the an application which shows a photo. I want to maximize
> the viewing area of the photo so it takes up most of the screen. At
> the same time I'd like the user to easily be able to bring into view
> the metadata of the photo. That is where I wanted the 'slide android
> view into view' functionality similar to that found in the Launcher
> and/or the SlidingDrawer.
>
> Thanks for any help.
>
> Gustav
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to