Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9098089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:16:43+00:00 2026-06-17T00:16:43+00:00

I built an application with quite a few activities and I would like to

  • 0

I built an application with quite a few activities and I would like to have “slide from right on enter/slide from left on exit” transitions between them.

I read more than once that slide transitions should be the Android default, but on the device I am developing on the transitions are fade in/fade out by default (Galaxy Tab 2 7″, on ICS 4.0).

Is there anything I need to declare at application level, for example in the manifest file?

I am asking because otherwise I would need to add overridePendingTransition (R.anim.right_slide_in, R.anim.left_slide_out); to all my transitions which are plenty…just wondering if I am missing something before going that road.

Many thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:16:45+00:00Added an answer on June 17, 2026 at 12:16 am

    No answers…on the devices 4+ I tried, the animation is a fade-in fade-out with zoom in or out…

    I added the code manually where I wanted to have the slide animation:

    //open activity
    startActivity(new Intent(this, MyActivity.class));
    overridePendingTransition(R.anim.right_slide_in, R.anim.left_slide_out);
    

    xml animation right to left:

    <?xml version="1.0" encoding="utf-8"?>
    <set xmlns:android="http://schemas.android.com/apk/res/android"
    android:interpolator="@android:anim/accelerate_decelerate_interpolator" >
    
    <translate
        android:duration="300"
        android:fromXDelta="100%p"
        android:toXDelta="0" />
    
    </set>
    

    xml animation left to right:

    <?xml version="1.0" encoding="utf-8"?>
    <set xmlns:android="http://schemas.android.com/apk/res/android"
    android:interpolator="@android:anim/accelerate_decelerate_interpolator" >
    
    <translate
        android:duration="300"
        android:fromXDelta="0"
        android:toXDelta="-100%p" />
    
    </set>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application built for iPhone 2.0 but I would like to use
I have a custom built application framework written in PHP which I have been
I have an already built application and I want to add a feature that
I have an application built for 1.5 and I am adding higher resolution drawables
I have built an application which takes photos when you touch the preview. I
I have an application built using JSF1.2. I have a home page which has
I'm new to ASP.NET but have quite a few successful test pages going now
I have a WCF client which passes Self-Tracking Entities to a WPF application built
I am working with a SharePoint application that has quite a bit of built
I have this password regex for an application that is being built its purpose

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.