diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/SignUpFragment.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/SignUpFragment.java deleted file mode 100644 index 8396843..0000000 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/SignUpFragment.java +++ /dev/null @@ -1,48 +0,0 @@ -package org.ntlab.radishforandroidstudio.cactusClient; - - -import android.os.Bundle; -import android.support.v4.app.Fragment; -import android.support.v4.app.FragmentManager; -import android.support.v4.app.FragmentTransaction; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.widget.Button; - -import org.ntlab.radishforandroidstudio.R; - -public class SignUpFragment extends Fragment { - - @Override - public View onCreateView(LayoutInflater inflater, ViewGroup container, - Bundle savedInstanceState) { - // Inflate the layout for this fragment - return inflater.inflate(R.layout.sign_up_fragment, container, false); - - } - - //↓↓↓↓↓↓↓↓画面遷移↓↓↓↓↓↓↓↓ - @Override - public void onStart() { - super.onStart(); - - Button button = (Button)getActivity().findViewById(R.id.LoginButton2); - button.setOnClickListener(new View.OnClickListener() { - - @Override - public void onClick(View v) { - //Toast.makeText(getActivity(), "hoge!", Toast.LENGTH_SHORT).show(); - - FragmentManager manager = getFragmentManager(); - FragmentTransaction transaction = manager.beginTransaction(); - - //transaction.replace(R.id.fragment_place, new LoginFragment()); - transaction.replace(R.id.fragment_place, new LoginFragment()); - - transaction.commit(); - } - }); - - } -}