Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Commit

Permalink
Deprecate in favor of r13.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed May 27, 2013
1 parent 6717b64 commit 9be9a2f
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 581 deletions.
23 changes: 0 additions & 23 deletions .gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

19 changes: 0 additions & 19 deletions CHANGELOG.md

This file was deleted.

202 changes: 0 additions & 202 deletions LICENSE.txt

This file was deleted.

48 changes: 3 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,9 @@ An extension of the `ActivityCompat` helper in the support library which
supports the new `startActivity` and `ActivityOptions` features of the Android
4.1 (Jelly Bean) release.

This library is meant as an extension of the [support library][support] and
requires it as a dependency.
# DEPRECATED

Downloadable .jars can be found on the [GitHub download page][dl].
Please use the [support library r13][support] or newer for these features.



Usage
-----

Use `ActivityOptionsCompat2` just as you would [`ActivityOptions`][api] and use
`ActivityCompat2` for calling `startActivity` or `startActivityForResult`.

```java
Intent intent = new Intent(this, OtherActivity.class);
ActivityOptionsCompat2 options =
ActivityOptionsCompat2.makeThumbnailScaleUpAnimation(view, thumb, 0, 0);
ActivityCompat2.startActivity(this, intent, options.toBundle());
```

Both `makeCustomAnimation` and `makeScaleUpAnimation` methods are also
available for use.



License
-------

Copyright 2012 Jake Wharton
Copyright 2012 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.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.



[dl]: http://github.com/JakeWharton/ActivityCompat2/downloads
[support]: http://developer.android.com/tools/extras/support-library.html
[api]: http://developer.android.com/reference/android/app/ActivityOptions.html
[support]: http://developer.android.com/tools/extras/support-library.html
Loading

0 comments on commit 9be9a2f

Please sign in to comment.