I use these snippets to implement Google Now Card appear-animations on Android. Add these two files to your res/anim/
folder and add a swing_anim_time
integer to your values:
<!-- res/values/strings.xml -->
<integer name="swing_anim_time">750</integer>
Implement it like this in your code (or however you feel like doing it 😏):
Animation animation = AnimationUtils.loadAnimation(someContext, R.anim.swing_up_left);
yourView.startAnimation(animation);
wow, this is awesome! Do you have any suggestion for card views for collapse and expand them? I have found some information but seems likes there has to be an easier way now.
Thanks for sharing!