All Projects → agilie → InterfaceInteraction

agilie / InterfaceInteraction

Licence: MIT license
Interact your app's interface elements with different effects!

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to InterfaceInteraction

Django Colorfield
color field for django models with a nice color-picker in the admin. 🎨
Stars: ✭ 238 (+317.54%)
Mutual labels:  interface
Fluent-Design-For-Web
Windows 10 Inspired UI For Web
Stars: ✭ 28 (-50.88%)
Mutual labels:  interface
typeclass-interface-pattern
Ideas, thoughts, and notes on a typeclass/interface based polymorphism pattern for standard C
Stars: ✭ 26 (-54.39%)
Mutual labels:  interface
significa.co
Significa - A digital design-led agency focused on product development.
Stars: ✭ 72 (+26.32%)
Mutual labels:  interface
MIDI.jl
A Julia library for handling MIDI files
Stars: ✭ 55 (-3.51%)
Mutual labels:  interface
adxl345
ADXL345 full function driver for general MCU and Linux.
Stars: ✭ 170 (+198.25%)
Mutual labels:  accelerometer
Pfui
A User Interface Replacement for World of Warcraft: Vanilla & TBC
Stars: ✭ 226 (+296.49%)
Mutual labels:  interface
javakdb
Using Java with kdb+
Stars: ✭ 41 (-28.07%)
Mutual labels:  interface
UnitedEngine
Lightweight physic engine designed for massive and fast simulations
Stars: ✭ 133 (+133.33%)
Mutual labels:  physics
cplot
Function plotter
Stars: ✭ 27 (-52.63%)
Mutual labels:  physics
Shogun
Shodan.io Command Line Interface
Stars: ✭ 42 (-26.32%)
Mutual labels:  interface
MIMS
PyQt application for creating mass interaction models and compiling them into Faust dsp code, or ~gen objects (for Max/MSP)
Stars: ✭ 22 (-61.4%)
Mutual labels:  physics
mechamodlearn
Structured framework for learning mechanical systems in PyTorch
Stars: ✭ 22 (-61.4%)
Mutual labels:  physics
DataAbstractions.Dapper
A light abstraction around Dapper and Dapper.Contrib that also maintains the behavior IDbConnection.
Stars: ✭ 37 (-35.09%)
Mutual labels:  interface
youyou
Edit and create FHIR profiles with a shiny interface ✨
Stars: ✭ 13 (-77.19%)
Mutual labels:  interface
Elvui
ElvUI for World of Warcraft - Wrath of the Lich King (3.3.5a)
Stars: ✭ 229 (+301.75%)
Mutual labels:  interface
BowlerStudio
A Full-Stack Robotics Development Environment
Stars: ✭ 95 (+66.67%)
Mutual labels:  physics
spicyphysics
Sup bois, here's my work
Stars: ✭ 22 (-61.4%)
Mutual labels:  physics
ui bibz
Ui Framework based on Bootstrap and Ruby on Rails
Stars: ✭ 13 (-77.19%)
Mutual labels:  interface
use-spring
Hooke's law hook
Stars: ✭ 53 (-7.02%)
Mutual labels:  physics

InterfaceInteraction

Made by Agilie GitHub license

Influenced with PhysicsLayout project, we've implemented an interesting animation. Our library captures any interface (screen or view) and throws its UI elements over under the influence of gravity, so that one can move them from side to side obliquely. Gravity depends on device's accelerometer data. Call stop() method to return all the UI elements to their original location.

Another option is to apply shake animation for your UI elements.

These animations can be easily used during the development of any application as an event activated after a specified user action.

Gravity

Shake

Example

How does it work?

Gravity:

First, create an instance of GravityControllerImpl. Pass context instance and root ViewGroup as constructor parameters:

val gravityController = GravityControllerImpl(this, rootLayout)

To initiate gravity animation of all subviews (except ViewGroup instances) and then return back these UI elements simply call appropriate methods:

gravityController.start()
gravityController.stop()

Shake:

Choose what you want to shake: all activity or only view. Then you need to build your ShakeBuilder, call the method shake where the parameter is yours view and in the end call the method build.

val shaker = InterfaceInteractorImpl().shake(this).build()

In order to start animation you need to call the method shakeMyActivity or shakeMyView. To complete the animation call the method stopAnimation

shaker.shakeMyActivity()
shaker.shakeMyView()
shaker.stopAnimation()

Usage

Gradle

Add dependency in your build.gradle file:

compile 'com.agilie:interface-interaction:1.0'

Maven

Add rependency in your .pom file:

<dependency>
  <groupId>com.agilie</groupId>
  <artifactId>interface-interaction</artifactId>
  <version>1.0</version>
  <type>pom</type>
</dependency>

Requirements

AGMobileGift works on Android API 19+

Troubleshooting

Problems? Check the Issues block to find the solution or create an new issue that we will fix asap.

Author

This library is open-sourced by Agilie Team [email protected]

Contributors

Contact us

If you have any questions, suggestions or just need a help with web or mobile development, please email us at
[email protected]
You can ask us anything from basic to complex questions.
We will continue publishing new open-source projects. Stay with us, more updates will follow!

License

The MIT License (MIT) Copyright © 2017 Agilie Team

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].