Back to project page oidarSample.
The source code is released under:
GNU General Public License
If you think the Android project oidarSample 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 com.oidar.activity.base; // ww w . j a v a2 s . c om import android.support.v4.app.FragmentActivity; /** * Custom Activity which has animations and Google Analytics support. */ public abstract class BaseActivity extends FragmentActivity { /** * Called when the activity is paused. */ @Override protected void onPause() { super.onPause(); overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); } /** * Called when the activity is started. */ @Override protected void onStart() { super.onStart(); } /** * Called when the activity is stopped. */ @Override protected void onStop() { super.onStop(); } }