• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to use a animation in remoteviews on a widget?

Shelly22

Newbie
Hello Forum.

So How to use a animation in remoteviews on a widget?

My animation is a animation.xml file.

[HIGH]
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/selected"
android:oneshot="false" >

<item
android:drawable="@drawable/normal"
android:duration="500"/>
<item
android:drawable="@drawable/normal_a"
android:duration="500"/>
<item
android:drawable="@drawable/normal_b"
android:duration="500"/>
<item
android:drawable="@drawable/normal_c"
android:duration="500"/>
<item
android:drawable="@drawable/normal"
android:duration="500"/>
<item
android:drawable="@drawable/normal_c"
android:duration="500"/>
<item
android:drawable="@drawable/normal"
android:duration="500"/>
<item
android:drawable="@drawable/normal_d"
android:duration="500"/>
</animation-list>
[/HIGH]

Can any help me please?
 
Back
Top Bottom