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

  • Home
  • SEARCH
  • 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 7596525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:56:14+00:00 2026-05-30T21:56:14+00:00

I have a layout where a splash screen asks for input from a user,

  • 0

I have a layout where a splash screen asks for input from a user, and upon getting the appropriate input it slides away off the top of the screen, revealing the main interface of the app. The splash screen bit of the layout is a RelativeLayout hierarchically at the same level as the LinearLayout which contains the main interface.
Due to constraints of the application these can’t be two separate activities. Here’s the animation XML I’m using to make the splash slide away.

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
    <translate
        android:duration="600"
        android:fromYDelta="0%"
        android:toYDelta="-100%" 
        android:startOffset="300"
     />
</set>

and

launchLayout.startAnimation(mSlideOutTop);
launchLayout.setVisibility(View.GONE);

this works really well, but it seems like after the start-offset of 300ms when the view actually starts to move, all of the views from the main layout of the app move in front of it, z-axis-wise. So rather than sliding up to reveal the interface, the interface pops up on top of the sliding splash screen. How can I make the other views remain in the background until the animation is finished? 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-05-30T21:56:15+00:00Added an answer on May 30, 2026 at 9:56 pm

    What if you used a view flipper and the built in android animations? You could put both of the screens you need to display into it and then flip back and forth as needed.

    R.anim: http://developer.android.com/reference/android/R.anim.html

    View Flipper: http://developer.android.com/reference/android/widget/ViewFlipper.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

long time listener, first time caller... I am creating a splash screen derived from
I have a question that I have a splash screen in my android app
My splash screen for my (very simple) Android application isn't showing. I have no
I have a splash screen in my application which show a splash image while
I have written a function to create a splash screen with a 5 second
I'm trying to have a splash screen then move to a downloading screen the
I have a splash screen/loading screen that has .setVisibility() to GONE right after the
I have a layout which uses min-width and works great. So I came to
I have a layout that is working, but it has one very annoying problem..
I have a layout similar to this: <div id=...><img src=...></div> and would like to

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.