Back to project page StoichiometryForDummies.
The source code is released under:
GNU Lesser General Public License
If you think the Android project StoichiometryForDummies 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.noahl98.perGProject; //from w w w . j av a 2s. c o m import android.R.anim; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.widget.TextView; public class MoleFragment extends FragmentActivity{ TextView title; //Page for Moles and Molar Mass @Override public void onCreate(Bundle arg0){ super.onCreate(arg0); setContentView(R.layout.mole_fragment_layout); //changes the transition overridePendingTransition(R.anim.slide_in_left, R.anim.slide_out_left); //gets title title=(TextView) findViewById(R.id.moles_title); //changes the font title.setTypeface(LauncherMenu.coolvetica); } @Override public void onPause(){ super.onPause(); //changes the animation for when the user navigates away from the page overridePendingTransition(anim.slide_in_left, anim.slide_out_right); } }