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

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
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:
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:
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!