Android Open Source - MatrixTools Addition Fragment






From Project

Back to project page MatrixTools.

License

The source code is released under:

Apache License

If you think the Android project MatrixTools 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 com.sehackers.matrixtools.fragments;
//from  w  ww  .  j a v a 2s .c o m
import com.sehackers.matrixtools.R;

import android.app.Fragment;
import android.app.FragmentManager;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class AdditionFragment extends Fragment {
  
  public AdditionFragment(){}
  
  @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
 
        View rootView = inflater.inflate(R.layout.fragment_addition, container, false);
        
//        FragmentManager fragmentManager = getFragmentManager();
//        Fragment x = new SingleMatrixInputFragment();
//      fragmentManager.beginTransaction()
//        .replace(R.id.addition_content_frame, x).commit();
        
    FragmentManager fragmentManager = getFragmentManager();
    fragmentManager.beginTransaction()
        .replace(R.id.content_frame, new SingleMatrixInputFragment()).commit();
         
        return rootView;
    }
}




Java Source Code List

com.sehackers.matrixtools.MainActivity.java
com.sehackers.matrixtools.fragments.AdditionFragment.java
com.sehackers.matrixtools.fragments.HomeFragment.java
com.sehackers.matrixtools.fragments.MMultiplicationFragment.java
com.sehackers.matrixtools.fragments.SMultiplicationFragment.java
com.sehackers.matrixtools.fragments.SingleMatrixInputFragment.java
com.sehackers.matrixtools.fragments.SubtractionFragment.java
com.sehackers.models.Matrix.java