Back to project page Animated.
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.
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; } }