When my user clicks on the About
item in my menu, I launch an AboutFragment
that displays all the necessary information.
In order to go back to the calling activity, I have set a back arrow with
((MainActivity)getActivity()).getSupportActionBar().setDisplayHomeAsUpEnabled(true);
When my user clicks it I call finish()
, but this causes a small animation where my Activity replaces the fragment and lifts up.
Would there be a way to have my activities view replace my fragment with no animation?