xml animation

by dashman » Wed, 27 Apr 2011 06:48:51 GMT

Sponsored Links
 i've got a simple animation of a logo.

the alpha works - but then at the end of the animation
it resets to 1.0 - that is fully opaque.

i would like it to stop at 0.5.

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android=" http://schemas.android.com/apk/res/android" ;>

        android:duration="500" />
        android:duration="500" />


Other Threads

1. How to use traceview to analyze performance problems?

I can't view the picture you attached but "huge" and "complex" are at least
bad signs. :)  You should never -need- to have a huge and complex view
hierarchy, and this is one of the first things you will fix because it
impacts performance all over the place.  A couple things you can do:

- If you have things that aren't always shown, don't include them in the
default view hierarchy.  Inflate and show them as needed, possibly removing
other things that are no longer shown.

- If you are using complicated hierarchies of layout managers, consider just
writing your own layout manager that does the placement you want.  This can
tremendously improve performance.

Dianne Hackborn
Android framework engineer

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.


2. " Creating Android.Jar File "

Hi all,

I downloaded the android source code..

Can any one tell me how to make our own jar file with all our
available java classes in the Android source code....

If any one know please help me how to do this...

3. How the use same instances when launching application twice ?

4. WebView issue (again)... Dianne?

5. How to build the wlan module (driver)

6. Button (with background image ) doesn't show press action

7. Want a background Service to show Toasts on Device Screen