Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
google-automerger committed Jan 21, 2015
1 parent 605f1c3 commit a001031
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .google/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
---
status: PUBLISHED
technologies: [Android]
categories: [UI]
categories: [Design, Transitions, Input]
languages: [Java]
solutions: [Mobile]
github: android-Interpolator
level: INTERMEDIATE
icon: screenshots/icon-web.png
apiRefs:
- android:android.animation.ObjectAnimator
- android:android.view.animation.Interpolator
license: apache2
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This sample uses the following software:

Copyright 2014 The Android Open Source Project
Copyright 2015 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@ Android Interpolator Sample
===================================

This sample demonstrates the use of animation interpolators and path animations for
Material Design. It shows how an ObjectAnimator is used to animate two properties of a
view (scale X and Y) along a path.
`Material Design`.

Introduction
------------

Material design is a comprehensive guide for visual, motion, and interaction
design across platforms and devices. Starting with API level 21,
[Android includes support for material design][1] apps.

This sample demonstrates the use of `Material Design` animation interpolators
and path animations. It uses an [ObjectAnimator][2] to animate two view properties,
`Scale_X` and `Scale_Y`. Users can pick from a set of interpolator options. They
can also define the duration of the animation.

[1]: https://developer.android.com/training/material/index.html
[2]: https://developer.android.com/guide/topics/graphics/prop-animation.html#object-animator

Pre-requisites
--------------
Expand All @@ -12,6 +26,11 @@ Pre-requisites
- Android Build Tools v21.1.1
- Android Support Repository

Screenshots
-------------

<img src="screenshots/before.png" height="400" alt="Screenshot"/> <img src="screenshots/after.png" height="400" alt="Screenshot"/>

Getting Started
---------------

Expand Down
Binary file added after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/icon-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a001031

Please sign in to comment.