Revert "アニメーションを全部に追加する WIP"

This reverts commit 470d3cca27.
This commit is contained in:
ろむねこ 2023-12-18 13:12:48 +09:00
parent 8e34ba7939
commit 4b2de05e5c
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
3 changed files with 8 additions and 27 deletions

View File

@ -8,8 +8,6 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.android.material.transition.MaterialSharedAxis;
import dagger.hilt.android.AndroidEntryPoint;
/**
@ -54,13 +52,10 @@ public class DebugMenuContainerFragment extends Fragment {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MaterialSharedAxis enterTransition = new MaterialSharedAxis(MaterialSharedAxis.Z, true);
enterTransition.setDuration(500);
setEnterTransition(enterTransition);
MaterialSharedAxis returnTransition = new MaterialSharedAxis(MaterialSharedAxis.Z, false);
returnTransition.setDuration(500);
setReturnTransition(returnTransition);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override

View File

@ -9,8 +9,6 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.android.material.transition.MaterialSharedAxis;
import java.util.ArrayList;
import java.util.List;
@ -36,13 +34,6 @@ public class DebugMenuTopFragment extends Fragment {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MaterialSharedAxis enterTransition = new MaterialSharedAxis(MaterialSharedAxis.Z, true);
enterTransition.setDuration(500);
setEnterTransition(enterTransition);
MaterialSharedAxis returnTransition = new MaterialSharedAxis(MaterialSharedAxis.Z, false);
returnTransition.setDuration(500);
setReturnTransition(returnTransition);
}
@Override

View File

@ -8,8 +8,6 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.android.material.transition.MaterialSharedAxis;
/**
* A simple {@link Fragment} subclass.
* Use the {@link LibraryTopFragment#newInstance} factory method to
@ -51,13 +49,10 @@ public class LibraryTopFragment extends Fragment {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MaterialSharedAxis enterTransition = new MaterialSharedAxis(MaterialSharedAxis.Z, true);
enterTransition.setDuration(500);
setEnterTransition(enterTransition);
MaterialSharedAxis returnTransition = new MaterialSharedAxis(MaterialSharedAxis.Z, false);
returnTransition.setDuration(500);
setReturnTransition(returnTransition);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override