Hi sorry I am not really following you enough to answer.  Fwiw, if you are
wanting to change the location of a view inside of the window while it is
animating, I think it will be impossible to do this without nasty drawing
glitches.  That is why the status bar uses two windows for the two planes
that animate when sliding down/up.

On Thu, Nov 19, 2009 at 6:27 PM, Zia <[email protected]> wrote:

> I'm following the code for StatusBarService and looking at
> TrackingView animation. I see the animation involved changing the
> height of LayoutParams, but I would like to change the x and y
> location of my view during animation. I can change the x/y cords and
> update call
>                        WindowManagerImpl.getDefault().updateViewLayout
> (mCustomControlBarView,
>                                        mCustomControlBarLayoutParams);
> however, this does not change anything. I tried changing the gravity
> settings and even removing them, but that didn't work me. Am I missing
> some steps or going about in the wrong direction here? Please advice.
>
> Thanks,
>
> -Z.
>
> On Oct 13, 10:13 am, Dianne Hackborn <[email protected]> wrote:
> > Hi, PhoneWindowManager implements most of the policy for where to place
> > screen decorations (note this has nothing to do with the home screen, the
> > status bar is in no way part of the home screen, it is a separate
> entity).
> >
> > The status bar itself is implemented in I think StatusBarService and
> related
> > code; that can be customized, and used as a model for similar dscreen
> > decorations.
> >
> >
> >
> > On Mon, Oct 12, 2009 at 9:28 PM, GUTS <[email protected]> wrote:
> >
> > > Hi!
> > > The Home screen of Android has a StatusBar at the top and displays the
> > > desktop folders. I need to change this to a custom look as follows.
> > > -A status bar at the top
> > > -A similar bar at the bottom
> > > -And one bar running parallel to the left edge of the screen
> > > -All three bars are visible all the time
> > > -Applications will be launched in the space left in the middle
> > > I have tried to manipulate in StatusBarService.java by adding views to
> > > WindowManagerImpl but nothing seem to be working.
> >
> > > Please guide if I am going in the right direction!
> >
> > > Thanks & Regards
> > > GUTS
> >
> > --
> > 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.
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>



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

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to