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 7853577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:44:27+00:00 2026-06-02T19:44:27+00:00

using sdk 2.3 I have a view at the bottom of the screen that

  • 0

using sdk 2.3

I have a view at the bottom of the screen that I want to slide out so I use this code

       FrameLayout ll1 = (FrameLayout) findViewById(R.id.bottom_panel);
        Animation anim1 = AnimationUtils.loadAnimation(this, R.anim.slideoutbottom);
        anim1.setInterpolator((new  
                   AccelerateDecelerateInterpolator()));
        anim.setFillAfter(true);
        ll1.setAnimation(anim1);
        ll1.setVisibility(View.GONE);

xml:

       <?xml version="1.0" encoding="utf-8"?>
       <set xmlns:android="http://schemas.android.com/apk/res/android">
       <translate android:fromYDelta="0%p" android:toYDelta="45%p"          android:duration="500" android:zAdjustment="bottom"/>
       </set>

THe problem I have is that there is a view in the middle of the screen which is expanding to fill the space left by the view sliding out. I don’t want this to happen, I just need the view in the middle to stay where it is and I will fade this one out.

How to solve
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-02T19:44:28+00:00Added an answer on June 2, 2026 at 7:44 pm

    Instead of setting the visibility to View.GONE, use View.INVISIBLE.

    In that way, the view you slide out will remain occupying the space on the screen.

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

Sidebar

Related Questions

I have this problem when trying to run hello world program using android SDK.
I'm using iphone sdk 3.1.2. I have 3 root view controllers each on separate
I have created an Excel document using OpenXml SDK 2.0, now I have to
I have updated my packages using Android SDK Manager and clicked on Help >
I'm using the latest PHP SDK and have tried $facebook->('/me/friends?fields=installed') and it tells me
I have installed the android SDK but I’m getting an error when using a
I've been using the Facebook C# SDK for sometime now, but have a really
I have integrated Facebook functionality into my applications. By using the link https://github.com/facebook/facebook-ios-sdk ,
In my application I'm using a Navigation Controller to push one view that loads
I am using iPhone SDK 3.1.3. I have a UITableViewController which gets data from

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.