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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:26:14+00:00 2026-05-18T08:26:14+00:00

I want to create layout like this on facebook app. Тo appear with effect

  • 0

I want to create layout like this on facebook app. Тo appear with effect from bottom to top.

I don’t know where to find example (xml and code) for this

Thanks

alt text

  • 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-18T08:26:14+00:00Added an answer on May 18, 2026 at 8:26 am

    If I understand what you’re talking about, I believe you could mess with gradients in XMLs. Maybe this layout can help you get started:

    <?xml version="1.0" encoding="utf-8"?>
    <shape 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    
    <gradient
    android:startColor="#555"
    android:endColor="#222"
    android:angle="90" />
    
    </shape>
    

    If this layout is “gradient.xml”, you set the android:background tag on your main screen layout to that layout (android:background=”@layout/gradient”/>).

    However, I may ask: why would want to mimic the appearance of another OS? It will only create an “alien” app. Unless your app is fully skinned, of course.


    OK, this is something you could try to create a floating menu at the bottom. This is what I did, there may be better solutions around.

    1- Use RelativeLayout as your main screen layout.

    2- At the bottom of the XML, enclose all your buttons inside another layout. I used a tablelayout, but I guess you can use a Linear with vertical orientation. Let’s call this layout “bottom_nav”. Use this for this bottom_nav layout:

    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:visibility="gone"
    

    3- As you organize your views, DON’T make any reference to bottom_nav. Don’t use “layout_below” and above, for example.

    Finally, on the button code, you change the visibility using setVisibility(boolean visibility).

    Worked wonder here. And very simple to do. If you want to add animations, then you can proceed from here.

    Good luck!

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

Sidebar

Related Questions

I want to create a layout like this: On the top a TextView, after
I am working in andorid. I want to create a layout like this:- When
I want to create a layout like below.. This is the XML i have
Hey I want to create a layout like this for my application. Of course
Here's what I tried: http://jsfiddle.net/tJxCD/6/ I want to create a layout like this: But
I want to create separate folders for my layouts, like this in my resource
I want to create a layout in such a way that on top edittext
I want to create a multicolumn layout in html that will run from left
I want to create a Button otherthan creating it from xml layout.i want to
I want to create a layout something like shown in image below can anyone

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.