转载

Euclid - 一个用户 Profile 界面动画的 Android 实现

This project is an implementation of the User Profile Interface Animation. Made in Yalantis

Check this project on Dribbble

Euclid - 一个用户 Profile 界面动画的 Android 实现

depends onOzodrukh's animation util for CircularReveal animation

At the moment, it's just an example of implementation of above interface in your android project. On later stages we are planning to create highly customisable library for good-looking interface.

But, if you want to use it in your project, you need to:

  1. Include the library as local library project.
  2. add this to your projects build.gradle file:

    repositories {     maven {         url "https://jitpack.io"     } }

    for CircularReveal module

  3. Extend you activity from EuclidActivity

  4. Implement getAdapter() method, so you return your own data.

For a working implementation, Have a look at the Sample Project - sample

Customization

You can override several methods to adjust animation durations or radius of circle that reveals the avatar.

Compatibility

  • Android JELLYBEAN 4.1+

Changelog

Version: 1.0

  • Pilot version

License

Copyright 2015, Yalantis 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.  
正文到此结束
Loading...