Hi sunil:

I will try my best to answer in English...
I don't know whether or not you have got Android source code.
If you got them, you could find file named "themes.xml" under the path
 "src_main_directory\frameworks\base\core\res\res\values".
Can see code like this:

<resources>
    ...
    <style name="Theme">
        ...
        <item 
name="android:windowAnimationStyle">@android:style/Animation.Activity</item>
        ...
then open file named "styles.xml" under the same path, find
    <style name="Animation.Activity">
You will see:
    <style name="Animation.Activity">
        <item name="activityOpenEnterAnimation">@anim/task_open_enter</item>
        <item name="activityOpenExitAnimation">@anim/task_open_exit</item>
        <item name="activityCloseEnterAnimation">@anim/task_close_enter</item>
        <item name="activityCloseExitAnimation">@anim/task_close_exit</item>
        <item name="taskOpenEnterAnimation">@anim/task_open_enter</item>
        <item name="taskOpenExitAnimation">@anim/task_open_exit</item>
        <item name="taskCloseEnterAnimation">@anim/task_close_enter</item>
        <item name="taskCloseExitAnimation">@anim/task_close_exit</item>
        <item name="taskToFrontEnterAnimation">@anim/task_open_enter</item>
        <item name="taskToFrontExitAnimation">@anim/task_open_exit</item>
        <item name="taskToBackEnterAnimation">@anim/task_close_enter</item>
        <item name="taskToBackExitAnimation">@anim/task_close_exit</item>
    </style>
You can change animation what you like in your project using theme...
or change them to "@null" so that no animation will occur when
Activity push or pop~


Good luck!

2010/4/16 javame_android <[email protected]>:
> Hi,
>
>
> I have two Activities A and B. I want to have the shrink Animation
> when Activity A calls B and maximize animation when Activity B calls
> A. I don't need the animation xml files for this.
>
> When we call another Activity in Android it gives its default
> animation and then it calls shrink animation.
>
> What I want is that the default animation should not occur and the
> animation that I want should occur.
>
> Can we actually give the animation when calling another Activity?
>
> Hope to get a quick response.
>
>
> Regards
> Sunil
>
> --
> 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



-- 
Best Wishes
Clark Guan
=====================================
Android Platform Software Engineer
Country:China
Language:Chinese
City:Beijing
Mobile: +86 13439630106
MSN: [email protected]
Email: [email protected]
=====================================

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