Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which animation/view is used for Recent apps/History in android 5.0(Lollipop)?

I need to do animation like it is there in Recent App section in Android 5.0. Like shown in the image below. Any hint or link or even the Animation type used here would be helpful.

Animation/UI type?

like image 978
user3667911 Avatar asked Nov 19 '14 09:11

user3667911


People also ask

What is animation in Android and how to use it?

Animation is the process of adding a motion effect to any view, image, or text. With the help of an animation, you can add motion or can change the shape of a specific view. Animation in Android is generally used to give your UI a rich look and feel. The animations are basically of three types as follows: 1. Property Animation

Which is the best library for animation in Android?

19 Best Android Animation UI/UX Libraries. 1 1. AndroidViewAnimations. We will begin with AndroidViewAnimations. It is a simple Android library that enables you to create view shake animations. 2 2. ListViewAnimations. 3 3. AndroidImageSlider. 4 4. Transition Everywhere. 5 5. Android Ripple Background. More items

What is androidviewanimations used for?

AndroidViewAnimations We will begin with AndroidViewAnimations. It is a simple Android library that enables you to create view shake animations. Its developer was inspired by an iOS library, since Android had no analogue at that time. The library allows you to implement a wide variety of animations, including: zoom.

What's new in Android Lollipop?

Welcome to Android 5.0 Lollipop—the largest and most ambitious release for Android yet! This release is packed with new features for users and thousands of new APIs for developers. It extends Android even further, from phones, tablets, and wearables, to TVs and cars.


3 Answers

Take a look here: https://github.com/vikramkakkar/DeckView There is also an example here. You can also find about RecentsView here:

https://github.com/android/platform_frameworks_base/blob/59701b9ba5c453e327bc0e6873a9f6ff87a10391/packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java

like image 72
Atlas91 Avatar answered Nov 08 '22 05:11

Atlas91


I have never done this, but I can point you in the right direction to use StackView. It was added in API level 11 (Android 3.0)

I have found some examples

  • http://www.broculos.net/2011/12/android-101-how-to-create-stackview.html
  • http://www.informit.com/articles/article.aspx?p=2078060&seqNum=3
  • http://www.thaicreate.com/mobile/android-stackview.html

enter image description here

Also this library looks decent

  • https://github.com/blipinsk/FlippableStackView
like image 34
Bojan Kseneman Avatar answered Nov 08 '22 04:11

Bojan Kseneman


Take a look here: https://github.com/ZieIony/MaterialRecents I personally tried it and it looks promising.

like image 44
Silvia H Avatar answered Nov 08 '22 05:11

Silvia H