Is this still not supported?
On android 2.3.x my following animation :
<style name="Anwb.Animation.SlidingRight">
<!-- <item
name="android:windowEnterAnimation">@anim/slide_in_right</item>
<item
name="android:windowExitAnimation">@anim/right_slide_out</item>-->
<item
name="android:activityOpenEnterAnimation">@anim/slide_in_right</item>
<item
name="android:activityOpenExitAnimation">@anim/left_slide_out</item>
<item
name="android:activityCloseEnterAnimation">@anim/left_slide_in</item>
<item
name="android:activityCloseExitAnimation">@anim/right_slide_out</item>
</style>
Is working but on android 4.0
the android:activityCloseEnterAnimation & android:activityCloseExitAnimation
I would really want those to work properly and not be force to use coding
to do animation stuff in android.. any help would be very much appreciated
On Wednesday, 4 February 2009 23:20:15 UTC+1, Dianne Hackborn wrote:
> Activity transition animations are not supported in the current SDK or the
> 1.0 or 1.1 platform. These are turned off because we didn't have time to
> finish the implementation and fix the various bugs that they currently
> have. Please don't try to use them until they are officially supported.
>
> On Wed, Feb 4, 2009 at 7:54 AM, DaRolla <[email protected]>wrote:
>
>>
>> Hi,
>>
>> I'd like to have some fancy effects on my Activities when entering or
>> exiting.
>>
>> So I tried to use theming.
>>
>> But it seems that it's completly ignored?
>>
>> themes.xml (activated in Manifest)
>> <item name="android:windowAnimationStyle">@style/Animation.Activity</
>> item>
>>
>> styles.xml
>> <style name="Animation" parent="android:Animation"/>
>> <style name="Animation.Activity" parent="android:Animation.Activity">
>> <item name="android:activityOpenEnterAnimation">@anim/fade_in</
>> item>
>> <item name="android:activityOpenExitAnimation">@anim/fade_in</
>> item>
>> <item name="android:activityCloseEnterAnimation">@anim/fade_in</
>> item>
>> <item name="android:activityCloseExitAnimation">@anim/fade_in</
>> item>
>> </style>
>>
>> fade_in.xml
>> <alpha xmlns:android="http://schemas.android.com/apk/res/android"
>> android:fromAlpha="0.0" android:toAlpha="1.0"
>> android:duration="1000" />
>>
>> Greetings,
>> DaRolla
>>
>>
>>
>
>
> --
> 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. 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