Android Open Source - Animated Animated Activity






From Project

Back to project page Animated.

License

The source code is released under:

Apache License

If you think the Android project Animated listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.apps.awarner.animated;
/* www  . j a v  a  2s  . c om*/
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.LinearLayout;

public class AnimatedActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        LinearLayout container = (LinearLayout) findViewById(R.id.container);
        container.addView(new AnimatedView(this));
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.animated, menu);
        return true;
    }
    
}




Java Source Code List

org.apps.awarner.animated.AnimatedActivity.java
org.apps.awarner.animated.AnimatedView.java
org.apps.awarner.animated.ShapeHolder.java
org.apps.awarner.animated.XYArcEvaluator.java
org.apps.awarner.animated.XYEvaluator.java
org.apps.awarner.animated.XYHolder.java