How to implement a user interface similar to the Lollipop recent apps interface?

I need to implement a user interface that looks just like the user interface used in recent Lollipop applications. I am attaching a screenshot. enter image description here

1) Can I implement it by expanding any ViewGroup (AbsListview, AdapterView, etc.) and laying them out accordingly using the actions of a custom swipe?

2) I should not use “Views” as each element and use the “Screenshot” screenshot as an element (since Lollipop elements are an image, not a “View”, do Google Chrome tabs also have the same function)?

3) Is it possible to determine the implementation of this user interface from the source code of Android 5?

+6
source share
2 answers

I know this late. But better late than never. I also ran into a similar requirement and found a library called Material Recents that does exactly what you are looking for.

+5
source

You can see how it is implemented in the source code. This application is part of the com.android.systemui package, which is part of AOSP. Source code is available in the com.android.systemui.recents package.

+2
source

Source: https://habr.com/ru/post/982031/


All Articles