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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:15:35+00:00 2026-06-13T05:15:35+00:00

In my app I want to create a main menu screen layout. The layout

  • 0

In my app I want to create a main menu screen layout. The layout basically has a linear layout which is 40 dp from the left, also there are four buttons in another linear layout.

Now, what I want to achieve is that when the user reaches the main menu screen, the four button should swipe in from the bottom , I know I need to inflate the first layout with the layout holding the button, I have studied a bit about interpolators on developer android, but I am still not able to achieve what I want.

Can any one help me as how I can achieve this, an example or a tutorial on inflation would help, but inflation must be from bottom to top or top to bottom.

  • 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-13T05:15:36+00:00Added an answer on June 13, 2026 at 5:15 am

    If I understood correct you just need to animate your buttons(sliding from bottom to top). The first you need to define your animation in your R.anim smth like this:

    <?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:fromXDelta="-200%"
        android:toXDelta="0%"
        android:fromYDelta="200%"
        android:toYDelta="0%"
        android:duration="3000"/>
    
    <alpha
        android:fromAlpha="0.0"
        android:toAlpha="1.0"
        android:duration="3000" />
    </set>
    

    Then you need to apply animation to your view or layout:

    Animation a = AnimationUtils.loadAnimation(this, R.anim.alpha);
    a.reset();
    TextView tv = (TextView) findViewById(R.id.firstTextView);
    tv.clearAnimation();
    tv.startAnimation(a);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create simple app able to edit images. Main view of app
I want to create a Silverlight app to extract and manipulate data from an
I want to create a menu like below for my iPhone app. Is it
I want to create an app, where the user will decide it the main
Is there another way to create the main menu in C# other than using
I am am going to make a app where i want to create a
I am developing a MVC 3 Web app and I want to create something
I want to create App that Make My Device with multi-Users username and password
I want to create a simple app, where the user can take a photo.
I want to create an Android app that can be used on 2.3.3 all

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.