In my Android application, all my views are like this: https://i.stack.imgur.com/bcUdk.jpg (reuploaded)
I mean:
- I have a LinearLayout with a background red color for my App Title;
- 4 ImageButtons, when I click in each of them, I acess a specific view;
- The content.
I'm debugging on my Samsung Galaxy S3. Everytime I click in a ImageButton (Menu1 - Menu4), the new Activity/View open, with a fadein effect (because my Galaxy S3, I guess) and It's working. But it's disturbing, the effect. I use some apps that I don't see the "fade in" effect every time I change the current view.
So: How can I start a new Intent without the "fadeIn" effect, because it's making a big history of views, everytime I click in one ImageButton, a new view open, with this boring effect.
I do the ImageButton actions like this:
Intent nextView = new Intent(v.getContext(), MainActivity.class);
startActivity(nextView);
The "FadeIn" is: https://www.youtube.com/watch?v=Zcfgn6kqFUI (1min 1sec), for example. Everytime I click the button my view open with this "effect".
Thanks!