Reputation: 677
I need to implement a UI which looks same as the UI used in Lollipop's recent apps .I'm attaching the screenshot .
1) Can I implement it by extending any ViewGroup(AbsListview , AdapterView etc) and laying out the children accordingly with user swipe actions??
2) Am I not supposed to use 'Views' as each items , and use a screenshot of the 'View' as an item(Since Lollipop's items seems to be an image , rather than a 'View' , Google Chrome's tabs also have this same feature)?
3) Is it possible to figure out the implementation of this UI from Android 5 source code?
Upvotes: 6
Views: 3387
Reputation: 642
I know it's late. But better late than never. I was also came across the similar requirement and found a library called Material Recents, Which exactly does what you are looking for.
Upvotes: 6
Reputation: 1936
You can take a look on how it is implemented in the source code. This application is part of the com.android.systemui
package, which is part of the AOSP. The source code is available in the package com.android.systemui.recents.
Upvotes: 2